You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In keeping with other component shorthand, we ought to allow the Subheader to be configured via props:
<Headeras='h2'content='Sale!'subheader='$10.99'/>
As with all shorthand props, we should disallow() children when using the subheader shorthand. There are already docs, examples, and tests for Header icon and image shorthand that can be referenced.
The text was updated successfully, but these errors were encountered:
This is the current markup for Headers with subheader children:
In keeping with other component shorthand, we ought to allow the
Subheader
to be configured via props:As with all shorthand props, we should
disallow()
children when using thesubheader
shorthand. There are already docs, examples, and tests for Headericon
andimage
shorthand that can be referenced.The text was updated successfully, but these errors were encountered: