diff --git a/src/Components/EmptySearchList.jsx b/src/Components/EmptySearchList.jsx index dc37c9e..f455898 100644 --- a/src/Components/EmptySearchList.jsx +++ b/src/Components/EmptySearchList.jsx @@ -13,7 +13,7 @@ const EmptySearchList = ({message}) => { > Dan Abramov {message} - Posts of rubix will appear here. + Posts of tanami will appear here. ) diff --git a/src/Components/FormField.jsx b/src/Components/FormField.jsx index dfa60cc..7005683 100644 --- a/src/Components/FormField.jsx +++ b/src/Components/FormField.jsx @@ -1,5 +1,5 @@ -import { FormControl, FormLabel, Input, Textarea } from '@chakra-ui/react'; -import React from 'react' +import { FormControl, FormLabel, Input, Textarea, Select, Checkbox, RadioGroup, Radio, Stack } from '@chakra-ui/react'; +import React from 'react'; import { Controller } from 'react-hook-form'; import { TiWarning } from 'react-icons/ti'; @@ -8,40 +8,82 @@ const FormField = ({ control, name, type = "text", + options = [], errors, isRequired, arabic, ...props }) => ( - // - // - + {label} { - return type === "textarea" ? ( -