mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
13 lines
377 B
Svelte
13 lines
377 B
Svelte
<script>
|
|
// export let action = undefined;
|
|
// export let type = undefined;
|
|
export let icon = undefined;
|
|
// export let content = undefined;
|
|
|
|
import { cx } from '../../../lib';
|
|
import Icon from '../../Icon/Icon.svelte';
|
|
</script>
|
|
|
|
<button aria-label="Notifications" class={cx('--header__action')} type="button">
|
|
<Icon {...icon} render={icon[0].render} />
|
|
</button>
|