-
-
Save Heydon/73b6c54d6c65c31ed87d4bd25547f506 to your computer and use it in GitHub Desktop.
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
<h2 aria-level={props.level ? props.level : null}>Heading text</h2> | |
<p>Lorem ipsum.</p> | |
<h3 aria-level={props.level ? props.level + 1 : null}>Subheading text</h3> | |
<p>Lorem ipsum.</p> | |
<h4 aria-level={props.level ? props.level + 2 : null}>Nested subheading text</h4> | |
<p>Lorem ipsum.</p> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment