mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
fix(types): allow data-*
attributes for props forwarded to HTML elements (#1741)
* chore(deps-dev): upgrade `sveld` to v0.18.1 * Run "yarn build:docs" * test: assert that `data-*` attributes are valid
This commit is contained in:
parent
7579c032fa
commit
7fdc2ef7f0
147 changed files with 310 additions and 22 deletions
|
@ -3,7 +3,7 @@
|
|||
import Add from "carbon-icons-svelte/lib/Add.svelte";
|
||||
</script>
|
||||
|
||||
<Button>Primary button</Button>
|
||||
<Button data-test-id="btn">Primary button</Button>
|
||||
|
||||
<Button kind="secondary">Secondary button</Button>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue