@ied/tag

yarn add @ied/tag

Usage no npm install needed!

<script type="module">
  import iedTag from 'https://cdn.skypack.dev/@ied/tag';
</script>

README

Tag

Install

yarn add @ied/tag

Use

Simple

import Tag from '@ied/tag'

<Tag label="Bookkeeping" />

With dot

import Tag from '@ied/tag'

<Tag label="Bookkeeping" withDot />

Types

type Props = {
  label: string,
  style?: {},
  onClick?: MouseEvent => void,
  className?: string,
  withDot?: boolean,
}