@crpt/react-label

react-label React component

Usage no npm install needed!

<script type="module">
  import crptReactLabel from 'https://cdn.skypack.dev/@crpt/react-label';
</script>

README

react-label

Travis npm package Coveralls

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>