diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-01-16 12:58:45 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-01-16 12:58:45 +0700 |
| commit | ecb4e0be9f7649f448191b016e744980541e6c75 (patch) | |
| tree | 8ab5fbc860f891cc40ebb012f7d843a4e9695f63 /src/components | |
| parent | 059e91523af7d5f17c8357ec27a4512aa90feee3 (diff) | |
typo import
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/SelectFormik.js | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/components/SelectFormik.js b/src/components/SelectFormik.js deleted file mode 100644 index 4fd711c5..00000000 --- a/src/components/SelectFormik.js +++ /dev/null @@ -1,18 +0,0 @@ -import ReactSelect from "react-select"; - -const SelectFormik = ({ - options, - field, - form -}) => { - return <ReactSelect - options={options} - name={field.name} - value={options ? options.find(option => option.value === field.value) : ''} - onChange={(option) => form.setFieldValue(field.name, option.value)} - onBlur={field.onBlur} - classNamePrefix={field} - /> -} - -export default SelectFormik;
\ No newline at end of file |
