-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove is_page_heading param from radio component
Recently, the ability to pass a custom heading level to the radio component was introduced. Since a custom heading level is now an option, the is_page_heading parameter became redundant. This parameter simply dictates that the radio component legend heading should be a h1 of size xl by default. It is possible to achieve the same result using heading_level and/or heading_size instead. This removes all mentions of is_page_heading from the radio component. Whenever we need this component to have a h1 in the future we can simply use the heading_level option (in combination with heading_size, if necessary)
- Loading branch information
1 parent
bce33ec
commit 8694e7e
Showing
4 changed files
with
12 additions
and
23 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
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