mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
refactor(table-row): remove unused prop
This commit is contained in:
parent
73036aea4a
commit
d8104d9c48
4 changed files with 135 additions and 158 deletions
|
@ -1,20 +1,3 @@
|
|||
<script>
|
||||
/**
|
||||
* Set to `true` to select the row
|
||||
* @type {boolean} [isSelected=false]
|
||||
*/
|
||||
export let isSelected = false;
|
||||
|
||||
// TODO: include ariaLabel, isSelected
|
||||
</script>
|
||||
|
||||
<tr
|
||||
class:bx--data-table--selected="{isSelected}"
|
||||
{...$$restProps}
|
||||
on:click
|
||||
on:mouseover
|
||||
on:mouseenter
|
||||
on:mouseleave
|
||||
>
|
||||
<tr {...$$restProps} on:click on:mouseover on:mouseenter on:mouseleave>
|
||||
<slot />
|
||||
</tr>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue