mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
parent
4f73b8b71a
commit
6c75c8a973
9 changed files with 243 additions and 0 deletions
19
src/components/Select/Select.Skeleton.svelte
Normal file
19
src/components/Select/Select.Skeleton.svelte
Normal file
|
@ -0,0 +1,19 @@
|
|||
<script>
|
||||
let className = undefined;
|
||||
export { className as class };
|
||||
export let hideLabel = false;
|
||||
export let style = undefined;
|
||||
|
||||
import { cx } from '../../lib';
|
||||
|
||||
const _class = cx('--form-item', className);
|
||||
</script>
|
||||
|
||||
<div on:click on:mouseover on:mouseenter on:mouseleave class={_class} {style}>
|
||||
{#if !hideLabel}
|
||||
<span class={cx('--label', '--skeleton')} />
|
||||
{/if}
|
||||
<div class={cx('--select', '--skeleton')}>
|
||||
<div class={cx('--select-input')} />
|
||||
</div>
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue