-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: make appchrome props optional (#907)
Allows for someone to use just the header or sidebar without needing to declare both. Also add children prop and deprecates mainContent because its a lot easier to use with children, as it allows JSX to simply be nested rather than part of a prop. Found these while trying to use this component during innovation days.
- Loading branch information
Russell Anderson
authored
Dec 12, 2022
1 parent
196e25d
commit 37984f8
Showing
1 changed file
with
40 additions
and
9 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