diff --git a/public/app/core/components/Picker/SimplePicker.tsx b/public/app/core/components/Picker/SimplePicker.tsx index b0251d61a69..27614a3483d 100644 --- a/public/app/core/components/Picker/SimplePicker.tsx +++ b/public/app/core/components/Picker/SimplePicker.tsx @@ -6,8 +6,8 @@ import ResetStyles from './ResetStyles'; interface Props { className?: string; defaultValue?: any; - getOptionLabel?: (item: any) => string; - getOptionValue?: (item: any) => string; + getOptionLabel: (item: any) => string; + getOptionValue: (item: any) => string; onSelected: (item: any) => {} | void; options: any[]; placeholder?: string; @@ -28,7 +28,7 @@ const SimplePicker: SFC = ({ }) => { return ( div { display: inline-block; }