mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-16 19:01:05 +00:00
Although `RadioTile` is meant to be used inside a `TileGroup`, it feels
unpolished for standalone usage to crash due to a missing parent context.
This fixes `RadioTile` to fail open by providing a no-op `add: () => {}`
when `TileGroup` context is not found.
|
||
|---|---|---|
| .. | ||
| RadioTile.group.test.svelte | ||
| RadioTile.single.test.svelte | ||
| RadioTile.test.svelte | ||
| RadioTile.test.ts | ||
| RadioTileCustom.test.svelte | ||