This repository has been archived by the owner on Nov 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(fab): add trailingIcon slot (#411)
* feat(fab): add trailingIcon slot * docs(fab): update demo
- Loading branch information
1 parent
8de3032
commit ea2697b
Showing
8 changed files
with
77 additions
and
137 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,32 @@ | ||
// Jest Snapshot v1, https://goo.gl/fbAQLP | ||
|
||
exports[`Fab Icon should render with no prop 1`] = `<span class="mdc-fab__icon">favorite</span>`; | ||
|
||
exports[`Fab Label should render with no prop 1`] = `<span class="mdc-fab__label"></span>`; | ||
|
||
exports[`Fab should render as absolute right 1`] = `<button class="mdc-fab mdc-fab--absolute-right"></button>`; | ||
|
||
exports[`Fab should render as exited 1`] = `<button class="mdc-fab mdc-fab--exited"></button>`; | ||
|
||
exports[`Fab should render as extended 1`] = `<button class="mdc-fab mdc-fab--extended"><span class="mdc-fab__label"></span></button>`; | ||
|
||
exports[`Fab should render as mini 1`] = `<button class="mdc-fab mdc-fab--mini"></button>`; | ||
|
||
exports[`Fab should render with no prop 1`] = `<button class="mdc-fab"></button>`; | ||
|
||
exports[`Fab should render without ripple 1`] = `<button class="mdc-fab"></button>`; | ||
exports[`Fab should render as absolute right 1`] = ` | ||
<button class="mdc-fab mdc-fab--absolute-right"> | ||
<!----> </button> | ||
`; | ||
|
||
exports[`Fab should render as exited 1`] = ` | ||
<button class="mdc-fab mdc-fab--exited"> | ||
<!----> </button> | ||
`; | ||
|
||
exports[`Fab should render as extended 1`] = ` | ||
<button class="mdc-fab mdc-fab--extended"> | ||
<div class="mdc-fab__label">create</div> | ||
</button> | ||
`; | ||
|
||
exports[`Fab should render as mini 1`] = ` | ||
<button class="mdc-fab mdc-fab--mini"> | ||
<!----> </button> | ||
`; | ||
|
||
exports[`Fab should render with no prop 1`] = ` | ||
<button class="mdc-fab"> | ||
<!----> </button> | ||
`; | ||
|
||
exports[`Fab should render without ripple 1`] = ` | ||
<button class="mdc-fab"> | ||
<!----> </button> | ||
`; |
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