1.0.8 • Published 5 years ago
@crpt/react-label v1.0.8
react-label
Set of react label components.
Usage
import { TwoLineLabel, SIZES } from "@crpt/react-label";
<TwoLineLabel heading={<span>Ta-daaa</span>}>This is content</TwoLineLabel>
PropName | Description | Example |
---|---|---|
heading: Any | Heading content. | <TwoLineLabel heading={<span>Ta-daaa</span>}>This is content</TwoLineLabel> |
size: String | Size of label. | <TwoLineLabel heading={<span>Ta-daaa</span>} size={SIZES.small}>This is content</TwoLineLabel> |