From d381095aaeecff23d68e3f985b08d1a49ea62745 Mon Sep 17 00:00:00 2001 From: Kuamr Shubham Date: Mon, 18 May 2020 16:49:16 +0530 Subject: [PATCH] Add options for dropdown menu --- src/components/admin/editform/DropDownOptions.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/admin/editform/DropDownOptions.tsx b/src/components/admin/editform/DropDownOptions.tsx index d73a64c..61629fa 100644 --- a/src/components/admin/editform/DropDownOptions.tsx +++ b/src/components/admin/editform/DropDownOptions.tsx @@ -23,7 +23,7 @@ const initialOpen:any = false; const initialSwitchState : any = { addMultiple: false, }; -const AddOption = (props:any) => { +const DropDownOptions = (props:any) => { const [options, setOptions] = React.useState(''); const { addItem } = props; const [switchState, setSwitchState] = React.useState(initialSwitchState); @@ -100,4 +100,4 @@ const AddOption = (props:any) => { ); }; -export default AddOption; +export default DropDownOptions;