mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
- Inline class assignments to avoid script-level clutter - Ignore a11y-missing-attribute instead of redundant href
15 lines
478 B
Svelte
15 lines
478 B
Svelte
<script>
|
|
let className = undefined;
|
|
export { className as class };
|
|
export let style = undefined;
|
|
|
|
import SkeletonText from '../SkeletonText';
|
|
import { ButtonSkeleton } from '../Button';
|
|
import { cx } from '../../lib';
|
|
</script>
|
|
|
|
<div on:click on:mouseover on:mouseenter on:mouseleave class={cx('--form-item', className)} {style}>
|
|
<SkeletonText heading width="100px" />
|
|
<SkeletonText width="225px" class={cx('--label-description')} />
|
|
<ButtonSkeleton />
|
|
</div>
|