From 6ab93982ae2547df50da305d685fd174cc7e01fc Mon Sep 17 00:00:00 2001 From: Peter Holmberg Date: Tue, 11 Dec 2018 15:47:30 +0100 Subject: [PATCH] styling on dropdowns --- public/app/core/components/Picker/SimplePicker.tsx | 6 +++--- public/app/core/components/Picker/Unit/UnitPicker.tsx | 2 +- public/sass/components/_form_select_box.scss | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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; }