-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I've been working with Ignite now for a while and both projects I've worked in I've ended up modifying the default Button component to include the above-mentioned properties.
<Button
...
disabledStyle={$disabled} // defined as a 5th preset in the style presets of the button component. We gray out buttons in both the apps I am building when they are disabled
disabledTextStyle={$disabledText} // defined as a 6th preset in the style presets
LoadingComponent={<Loader />} // the component that will show after the button is pressed to show its in a loading state (this can also put the button in a temporary disabled state)
isLoading={true} // shows the loading component in the center of the button
throttleTimeMS={2000} // set how long you want to prevent a user from spamming an API call
/>Its a feature request so not necessary to fix or anything. These are just things that I've ended up having to repeat with Ignite on more than one occasion.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request