mirror of
https://github.com/bknd-io/bknd/
synced 2026-08-02 08:06:00 +00:00
1ef2287d34
Removed dependency on LiquidJS and replaced it with a custom templating solution using lodash `get`. Updated corresponding components, editors, and tests to align with the new rendering approach. Removed unused filters and tags.
20 lines
508 B
TypeScript
20 lines
508 B
TypeScript
import { TaskForm } from "../form/TaskForm";
|
|
import { TaskComponent, type TaskComponentProps } from "./TaskComponent";
|
|
|
|
export function RenderTaskComponent(props: TaskComponentProps) {
|
|
const { task } = props.data;
|
|
return (
|
|
<TaskComponent {...props}>
|
|
<TaskForm
|
|
task={task}
|
|
onChange={console.log}
|
|
uiSchema={{
|
|
render: {
|
|
"ui:field": "HtmlField",
|
|
},
|
|
}}
|
|
/>
|
|
</TaskComponent>
|
|
);
|
|
}
|