From 3822b7b82629c5d471491ca8886a9a0ad5c64cc1 Mon Sep 17 00:00:00 2001 From: andrew Date: Fri, 24 May 2024 09:38:04 +0900 Subject: [PATCH] feat(spinner): make size optional --- packages/bezier-react/src/components/AlphaSpinner/Spinner.tsx | 4 ++-- .../bezier-react/src/components/AlphaSpinner/Spinner.types.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/bezier-react/src/components/AlphaSpinner/Spinner.tsx b/packages/bezier-react/src/components/AlphaSpinner/Spinner.tsx index 77f3d8913e..1aaa6c1c82 100644 --- a/packages/bezier-react/src/components/AlphaSpinner/Spinner.tsx +++ b/packages/bezier-react/src/components/AlphaSpinner/Spinner.tsx @@ -10,14 +10,14 @@ export const SPINNER_TEST_ID = 'bezier-spinner' export const Spinner = forwardRef( function Spinner( - { className, size = 'm', variant = 'secondary', ...rest }, + { className, size, variant = 'secondary', ...rest }, forwardedRef ) { return (