clean up
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user