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