CardHeading (JSX)
This component displays a heading for a <Card>
How to use
import CardHeading from 'calypso/components/card-heading';
function render() {
return (
<CardHeading tagName="h1" size={ 21 }>
Put your heading text here
</CardHeading>
);
}
Props
tagName(string) - The element to wrap the text insize(int) - The font size of the headingisBold(bool) - Sets the heading to boldclassName(string) - Adds additional class names to the componentid(string) - Adds id attribute to the component