<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('--skeleton', '--text-area')} />
</div>
