mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-17 03:01:25 +00:00
chore: format files with Prettier 3
This commit is contained in:
parent
1dcd09bd98
commit
8e996dc683
391 changed files with 3725 additions and 3785 deletions
|
@ -21,20 +21,20 @@
|
|||
|
||||
<Link
|
||||
{...$$restProps}
|
||||
disabled="{disabled}"
|
||||
{disabled}
|
||||
class="bx--tile bx--tile--clickable {clicked &&
|
||||
'bx--tile--is-clicked'} {light && 'bx--tile--light'} {$$restProps.class}"
|
||||
href="{href}"
|
||||
{href}
|
||||
on:click
|
||||
on:click="{() => {
|
||||
on:click={() => {
|
||||
clicked = !clicked;
|
||||
}}"
|
||||
}}
|
||||
on:keydown
|
||||
on:keydown="{({ key }) => {
|
||||
if (key === ' ' || key === 'Enter') {
|
||||
on:keydown={({ key }) => {
|
||||
if (key === " " || key === "Enter") {
|
||||
clicked = !clicked;
|
||||
}
|
||||
}}"
|
||||
}}
|
||||
on:mouseover
|
||||
on:mouseenter
|
||||
on:mouseleave
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue