import { Checkbox } from "@/components/ui/checkbox"; import { Label } from "@/components/ui/label"; import { CodeEditor } from "./CodeEditor"; type Props = { value: Record | null; onChange: (value: Record | null) => void; }; function DataSchema({ value, onChange }: Props) { if (value === null) { return (
{ onChange({}); }} />
); } return (
{ onChange(null); }} />
{ // TODO }} className="nowheel nopan" fontSize={8} />
); } export { DataSchema };