feat(component): add Notification

Closes #20
This commit is contained in:
Eric Liu 2019-12-20 18:56:56 -08:00
commit 94dceae1fb
11 changed files with 309 additions and 2 deletions

View file

@ -0,0 +1,22 @@
<script>
let className = undefined;
export { className as class };
export let style = undefined;
import Button from '../Button';
import { cx } from '../../lib';
const _class = cx('--inline-notification__action-button', className);
</script>
<Button
kind="ghost"
size="small"
on:click
on:mouseover
on:mouseenter
on:mouseleave
class={_class}
{style}>
<slot />
</Button>