mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
14 lines
419 B
Svelte
14 lines
419 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';
|
|
// import { leftPanelActions } from '../constants';
|
|
</script>
|
|
|
|
<button aria-label={type} class={cx('--header__action')} type="button">
|
|
<Icon {...icon} render={icon[0].render} />
|
|
</button>
|