mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
20 lines
394 B
Svelte
20 lines
394 B
Svelte
<script>
|
|
/**
|
|
* Set to `true` to use the small variant
|
|
* @type {boolean} [small=false]
|
|
*/
|
|
export let small = false;
|
|
</script>
|
|
|
|
<div
|
|
class:bx--skeleton={true}
|
|
class:bx--search--xl={!small}
|
|
class:bx--search--sm={small}
|
|
{...$$restProps}
|
|
on:click
|
|
on:mouseover
|
|
on:mouseenter
|
|
on:mouseleave>
|
|
<span class:bx--label={true} />
|
|
<div class:bx--search-input={true} />
|
|
</div>
|