From cda3bac259fcd76da1fd9ac4df415be8a3110d4a Mon Sep 17 00:00:00 2001 From: jintak0401 Date: Mon, 2 Dec 2024 14:05:15 +0900 Subject: [PATCH] docs(Button.types): update loading prop description to clarify button will be disabled when loading --- .../bezier-react/src/components/AlphaButton/Button.types.ts | 2 +- packages/bezier-react/src/components/Button/Button.types.ts | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/bezier-react/src/components/AlphaButton/Button.types.ts b/packages/bezier-react/src/components/AlphaButton/Button.types.ts index 0e15b089c3..26ae19fcec 100644 --- a/packages/bezier-react/src/components/AlphaButton/Button.types.ts +++ b/packages/bezier-react/src/components/AlphaButton/Button.types.ts @@ -32,7 +32,7 @@ interface ButtonOwnProps { 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/Button/Button.types.ts b/packages/bezier-react/src/components/Button/Button.types.ts index 6f253eaad5..b893340f51 100644 --- a/packages/bezier-react/src/components/Button/Button.types.ts +++ b/packages/bezier-react/src/components/Button/Button.types.ts @@ -52,8 +52,7 @@ interface ButtonOwnProps { text?: string /** - * If `loading` is true, spinner will be shown, replacing the content. - * Also, the button will be disabled. + * If `loading` is true, spinner will be shown, replacing the content. Also, the button will be disabled. * @default false */ loading?: boolean