diff --git a/public/app/core/components/Picker/SimplePicker.tsx b/public/app/core/components/Picker/SimplePicker.tsx index 9e00f06d8c3..6c9e8aca199 100644 --- a/public/app/core/components/Picker/SimplePicker.tsx +++ b/public/app/core/components/Picker/SimplePicker.tsx @@ -4,17 +4,19 @@ import DescriptionOption from './DescriptionOption'; import ResetStyles from './ResetStyles'; interface Props { - options: any[]; className?: string; + defaultValue: any; + getOptionLabel: (item: any) => string; + getOptionValue: (item: any) => string; + onSelected: (item: any) => {} | void; + options: any[]; placeholder?: string; width: number; - onSelected: (item: any) => {} | void; - getOptionValue: (item: any) => string; - getOptionLabel: (item: any) => string; } const SimplePicker: SFC = ({ className, + defaultValue, getOptionLabel, getOptionValue, onSelected, @@ -24,18 +26,19 @@ const SimplePicker: SFC = ({ }) => { return (