mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 19:01:05 +00:00
chore: v11 ExpandableTile
Note that state labels `tileCollapsedLabel` and `tileExpandedLabel` are no longer supported.
This commit is contained in:
parent
6be8d3f7d9
commit
ee55f2ba36
5 changed files with 2 additions and 44 deletions
|
@ -58,7 +58,7 @@ Set a custom height for the tiles on the "above" and "below" slots.
|
|||
For tiles containing interactive content, use `stopPropagation` to prevent the tile from toggling.
|
||||
|
||||
<ExpandableTile tileExpandedLabel="View less" tileCollapsedLabel="View more">
|
||||
<div slot="above">
|
||||
<div slot="above" height="10rem">
|
||||
<a href="/" on:click|preventDefault|stopPropagation={() => console.log("Hello world")}>
|
||||
Native element
|
||||
</a>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue