This commit is contained in:
ari committed 2022-05-19 22:57:58 -04:00
1 parent 952dcba3ac
commit f6270c94f3
5 files changed
+8 -12

No files matched your search

@@ -10,13 +10,11 @@ export interface Props<T extends {}> {
label: string;
value: T;
onChange: (v: T) => void;
resizable?: boolean;
}
export default function InputYaml<T>({
label,
value = {} as any,
onChange,
resizable,
}: Props<T>) {
const [{ text, error }, setState] = useState<{
text: string,