mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 10:51:06 +00:00
parent
9c83fbda69
commit
5ae12066fb
18 changed files with 193 additions and 88 deletions
13
src/components/Icon/Icon.Skeleton.svelte
Normal file
13
src/components/Icon/Icon.Skeleton.svelte
Normal file
|
@ -0,0 +1,13 @@
|
|||
<script>
|
||||
let className = undefined;
|
||||
export { className as class };
|
||||
export let size = 16;
|
||||
export let style = undefined;
|
||||
|
||||
import { cx, css } from '../../lib';
|
||||
|
||||
const _class = cx('--icon--skeleton', className);
|
||||
const _style = css([style, ['width', `${size}px`], ['height', `${size}px`]]);
|
||||
</script>
|
||||
|
||||
<div on:click on:mouseover on:mouseenter on:mouseleave class={_class} style={_style} />
|
Loading…
Add table
Add a link
Reference in a new issue