From 501d974eaa75c7644479eaff7581ddcffb5df06e Mon Sep 17 00:00:00 2001 From: Johannes Schill Date: Wed, 10 Oct 2018 14:12:36 +0200 Subject: [PATCH] Remove the fixed widths and make it possible to pass it in as a prop instead #13425 --- public/app/core/components/Picker/DescriptionOption.tsx | 4 ++-- public/app/core/components/Picker/NoOptionsMessage.tsx | 4 ++-- public/app/core/components/Picker/PickerOption.tsx | 4 ++-- .../Picker/__snapshots__/PickerOption.test.tsx.snap | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/public/app/core/components/Picker/DescriptionOption.tsx b/public/app/core/components/Picker/DescriptionOption.tsx index 2522eaa1a9d..9ddf13f7532 100644 --- a/public/app/core/components/Picker/DescriptionOption.tsx +++ b/public/app/core/components/Picker/DescriptionOption.tsx @@ -8,10 +8,10 @@ interface ExtendedOptionProps extends OptionProps { } export const Option = (props: ExtendedOptionProps) => { - const { children, isSelected, data } = props; + const { children, isSelected, data, className } = props; return ( -
+
{isSelected &&