ApplyBanner
Banner showing pending changes with an apply action.
Example
3 pending changes
Props
| Prop | Type | Default | Description |
|---|---|---|---|
count | number | — | Number of pending changes |
onapply | () => void | — | Callback when apply is clicked |
class | string | — | Additional CSS classes |
Usage
<script>
import { ApplyBanner } from '@chrissnell/chonky-ui';
</script>
<ApplyBanner count={5} onapply={() => save()} />