-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(Tabs): add ability to customize tab button headers (#1768)
- use intelligent fallback as backwards-compatibility - allow composing of custom tab contents - add new snapshots and stories illustrating new behavior - use a render prop to pass in title, active, and other future data - creation of reusable utility type for render props - updates to Tab props type
- Loading branch information
1 parent
e044a85
commit f231ad4
Showing
8 changed files
with
674 additions
and
13 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
export { Tab as default } from './Tab'; | ||
export type { Props as TabProps } from './Tab'; | ||
export type { TabProps } from './Tab'; |
Oops, something went wrong.