Skip to content

Commit

Permalink
fix: 🐛 add loading status only on pure button
Browse files Browse the repository at this point in the history
Signed-off-by: kodai3 <[email protected]>
  • Loading branch information
kodai3 committed May 3, 2024
1 parent 1d599d3 commit 845a63c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/Button/ButtonTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ export type BaseProps = {
* 後方配置のアイコン
*/
suffixIcon?: 'default' | ReactNode;
/**
* ローディング状態を示す
*/
loading?: boolean;
};

export type OnlyButtonProps = {
Expand All @@ -54,6 +50,10 @@ export type OnlyButtonProps = {
* @default false
*/
disabled?: boolean;
/**
* ローディング状態を示す
*/
loading?: boolean;
};

export type OnlyLinkButtonProps = {
Expand Down

0 comments on commit 845a63c

Please sign in to comment.