mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 02:41:05 +00:00
- add ref prop for applicable components (#196) - add slot to Content Switcher `Switch` component (#183) - remove fillArray, css utilities
16 lines
303 B
Svelte
16 lines
303 B
Svelte
<script>
|
|
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>
|