ApplyBanner

Banner showing pending changes with an apply action.

Example

3 pending changes

Props

PropTypeDefaultDescription
countnumberNumber of pending changes
onapply() => voidCallback when apply is clicked
classstringAdditional CSS classes

Usage

<script>
  import { ApplyBanner } from '@chrissnell/chonky-ui';
</script>

<ApplyBanner count={5} onapply={() => save()} />