From 843da3791c3ec258d240fbb1e42d361bf0b35b25 Mon Sep 17 00:00:00 2001 From: jintak0401 Date: Thu, 5 Dec 2024 13:46:25 +0900 Subject: [PATCH] docs(Button.types): update loading prop description about disabled prop --- .../src/components/AlphaFloatingButton/FloatingButton.types.ts | 2 +- .../AlphaFloatingIconButton/FloatingIconButton.types.ts | 2 +- .../src/components/AlphaIconButton/IconButton.types.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/bezier-react/src/components/AlphaFloatingButton/FloatingButton.types.ts b/packages/bezier-react/src/components/AlphaFloatingButton/FloatingButton.types.ts index 927eba30ba..032cf2ab5b 100644 --- a/packages/bezier-react/src/components/AlphaFloatingButton/FloatingButton.types.ts +++ b/packages/bezier-react/src/components/AlphaFloatingButton/FloatingButton.types.ts @@ -31,7 +31,7 @@ interface FloatingButtonOwnProps { text: string /** - * If `loading` is true, spinner will be shown, replacing the content. + * If `loading` is true, spinner will be shown, replacing the content. Also, the button will be disabled. * @default false */ loading?: boolean diff --git a/packages/bezier-react/src/components/AlphaFloatingIconButton/FloatingIconButton.types.ts b/packages/bezier-react/src/components/AlphaFloatingIconButton/FloatingIconButton.types.ts index 20fcc85d35..43db95ad52 100644 --- a/packages/bezier-react/src/components/AlphaFloatingIconButton/FloatingIconButton.types.ts +++ b/packages/bezier-react/src/components/AlphaFloatingIconButton/FloatingIconButton.types.ts @@ -26,7 +26,7 @@ type FloatingIconButtonSize = 'xs' | 's' | 'm' | 'l' | 'xl' interface FloatingIconButtonOwnProps { /** - * If `loading` is true, spinner will be shown, replacing the content. + * If `loading` is true, spinner will be shown, replacing the content. Also, the button will be disabled. * @default false */ loading?: boolean diff --git a/packages/bezier-react/src/components/AlphaIconButton/IconButton.types.ts b/packages/bezier-react/src/components/AlphaIconButton/IconButton.types.ts index acc4f487db..83b36d956f 100644 --- a/packages/bezier-react/src/components/AlphaIconButton/IconButton.types.ts +++ b/packages/bezier-react/src/components/AlphaIconButton/IconButton.types.ts @@ -27,7 +27,7 @@ type IconButtonSize = 'xs' | 's' | 'm' | 'l' | 'xl' interface IconButtonOwnProps { /** - * If `loading` is true, spinner will be shown, replacing the content. + * If `loading` is true, spinner will be shown, replacing the content. Also, the button will be disabled. * @default false */ loading?: boolean