mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
fix(ClickableTile): move rel before rest props
This commit is contained in:
parent
266443bf9e
commit
f6a3ff895e
1 changed files with 1 additions and 1 deletions
|
@ -24,9 +24,9 @@
|
|||
class:bx--tile--clickable="{true}"
|
||||
class:bx--tile--is-clicked="{clicked}"
|
||||
class:bx--tile--light="{light}"
|
||||
rel="{$$restProps.target === '_blank' ? 'noopener noreferrer' : undefined}"
|
||||
{...$$restProps}
|
||||
href="{href}"
|
||||
rel=""
|
||||
on:click
|
||||
on:click="{() => {
|
||||
clicked = !clicked;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue