From fa78f022ba1f167418bfbd286edf87d9adab1e02 Mon Sep 17 00:00:00 2001 From: Frederik Bolding Date: Thu, 2 Dec 2021 15:46:53 +0100 Subject: [PATCH] Use default param value --- src/components/TextSelector.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/TextSelector.tsx b/src/components/TextSelector.tsx index a6835aeb532..06125e07fdf 100644 --- a/src/components/TextSelector.tsx +++ b/src/components/TextSelector.tsx @@ -14,7 +14,7 @@ export interface OptionType { const Option = ({ value, selectOption, - paddingLeft + paddingLeft = '0px' }: { value: OptionType; selectOption?(option: OptionType): void; @@ -25,7 +25,7 @@ const Option = ({ return (