<script>
  /** Set to `true` to hide the label text */
  export let hideLabel = false;
</script>

<div
  class:bx--form-item="{true}"
  {...$$restProps}
  on:click
  on:mouseover
  on:mouseenter
  on:mouseleave
>
  {#if !hideLabel}
    <span class:bx--label="{true}" class:bx--skeleton="{true}"></span>
  {/if}
  <div class:bx--skeleton="{true}" class:bx--text-input="{true}"></div>
</div>
