This commit is contained in:
Ritesh Kumar committed 2020-01-10 23:46:21 +05:30
1 parent d75801a92f
commit c8298a4812
2 files changed
+2

No files matched your search

+1
View File
@@ -65,6 +65,7 @@ const Form = <T extends object>({
value={props.values[key]}
onChange={props.handleChange}
name={key}
defaultValue={options[0].value}
>
{options.map(({ label, value }) => (
<option
+1
View File
@@ -256,6 +256,7 @@ declare module "evergreen-ui" {
value: string;
onChange: (e) => void;
name: string;
defaultValue: string | number;
}
export class Select extends React.PureComponent<SelectProps> {}