diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..650e829 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "cSpell.words": [ + "formik" + ] +} \ No newline at end of file diff --git a/src/Components/ValidationField/ValidationField.tsx b/src/Components/ValidationField/ValidationField.tsx index 6e6b8ef..0cedfc5 100644 --- a/src/Components/ValidationField/ValidationField.tsx +++ b/src/Components/ValidationField/ValidationField.tsx @@ -1,10 +1,11 @@ import React from "react"; import "./ValidationField.scss"; import { Date, Time, File, DataRange, SelectField, Default, CheckboxField } from './View'; +import MaltyFile from "./View/MaltyFile"; export interface ValidationFieldProps { name: string; - type?: "text" | "Select" | "DataRange" | "Date" | "Time" | "File" | "number" | "Checkbox" | "password"; + type?: "text" | "Select" | "DataRange" | "Date" | "Time" | "File" | "number" | "Checkbox" | "password" |"MaltyFile"; placeholder?: string; label?: string; className?: string; @@ -31,6 +32,8 @@ const ValidationField = (props: ValidationFieldProps) => { return