mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
20 lines
375 B
Svelte
20 lines
375 B
Svelte
<script>
|
|
let className = undefined;
|
|
export { className as class };
|
|
export let style = undefined;
|
|
|
|
import { cx } from '../../lib';
|
|
import Button from '../Button';
|
|
</script>
|
|
|
|
<Button
|
|
kind="ghost"
|
|
size="small"
|
|
on:click
|
|
on:mouseover
|
|
on:mouseenter
|
|
on:mouseleave
|
|
class={cx('--inline-notification__action-button', className)}
|
|
{style}>
|
|
<slot />
|
|
</Button>
|