-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Implement LoadingButton error state (#428)
* Add error svg icon * Implement error state in LoadingButton - Refactor styles to reuse for success and error states - Dynamically render success or error icons and remove visible prop * feat(components): rename svgIcon prop and update story and snapshots "svgIcon" prop is renamed "as" for clarity (uses Emotion as prop) after review * test(components): test LoadingIcon error state with snapshot
- Loading branch information
Robin Métral
authored
Jul 12, 2019
1 parent
c3abfe6
commit 9370c30
Showing
8 changed files
with
171 additions
and
280 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.