@ausbom/warnings

Displays warnings at a glance

Usage no npm install needed!

<script type="module">
  import ausbomWarnings from 'https://cdn.skypack.dev/@ausbom/warnings';
</script>

README

@ausbom/warnings

Displays warnings at a glance

API Docs

Usage

import Warnings from '@ausbom/warnings';

<Warnings
  summaryText="1 warning for this location"
  warnings=[{
    label: string,
    priority: 'low'
    status: 'active'
    linkAs: 'a'
    linkProps: {
      href: '#'
    }
  }]
/>