mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
feat(data-table): add toolbar, toolbar search
This commit is contained in:
parent
8a65e463a1
commit
611d72bcf3
10 changed files with 640 additions and 154 deletions
|
@ -32,7 +32,7 @@
|
|||
|
||||
/**
|
||||
* Specify the value of the search input
|
||||
* @type {string} [value="text"]
|
||||
* @type {string} [value=""]
|
||||
*/
|
||||
export let value = "";
|
||||
|
||||
|
@ -124,11 +124,14 @@
|
|||
placeholder="{placeholder}"
|
||||
type="{type}"
|
||||
value="{value}"
|
||||
aria-hidden="{$$props['aria-hidden']}"
|
||||
on:change
|
||||
on:input
|
||||
on:input="{({ target }) => {
|
||||
value = target.value;
|
||||
}}"
|
||||
on:focus
|
||||
on:blur
|
||||
/>
|
||||
<button
|
||||
type="button"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue