Merge pull request 'feat(ui): disable button when loading state is active' (#5018) from ui/disable-button-when-loading into main
Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/5018
This commit is contained in:
@@ -68,6 +68,7 @@ export const Button = (props: ButtonProps) => {
|
||||
},
|
||||
)}
|
||||
onClick={props.onClick}
|
||||
disabled={props.disabled || props.loading}
|
||||
{...other}
|
||||
>
|
||||
<Loader
|
||||
|
||||
Reference in New Issue
Block a user