From e77119759b152509e367a2e430a5c346997c6063 Mon Sep 17 00:00:00 2001 From: lukewalczak Date: Mon, 17 Apr 2023 13:59:53 +0200 Subject: [PATCH] refactor: rename maxFontSizeMultiplier to labelMaxFontSizeMultiplier --- src/components/Checkbox/CheckboxItem.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Checkbox/CheckboxItem.tsx b/src/components/Checkbox/CheckboxItem.tsx index 302734ebe8..4b2223454a 100644 --- a/src/components/Checkbox/CheckboxItem.tsx +++ b/src/components/Checkbox/CheckboxItem.tsx @@ -52,7 +52,7 @@ export type Props = { /** * Specifies the largest possible scale a title font can reach. */ - maxFontSizeMultiplier?: number; + labelMaxFontSizeMultiplier?: number; /** * Style that is passed to Label element. */ @@ -125,7 +125,7 @@ const CheckboxItem = ({ accessibilityLabel = label, disabled, labelVariant = 'bodyLarge', - maxFontSizeMultiplier = 1.5, + labelMaxFontSizeMultiplier = 1.5, ...props }: Props) => { const theme = useInternalTheme(themeOverrides); @@ -174,7 +174,7 @@ const CheckboxItem = ({