feat(tile): support disabled state for SelectableTile, RadioTile

Closes #539
This commit is contained in:
Eric Y Liu 2021-04-01 14:27:44 -07:00
commit e5d123eb4b
8 changed files with 81 additions and 5 deletions

View file

@ -33,4 +33,18 @@ components: ["TileGroup", "RadioTile"]
<RadioTile light value="2">
Plus plan
</RadioTile>
</TileGroup>
### Disabled state
<TileGroup legend="Service pricing tiers">
<RadioTile value="0" checked>
Lite plan
</RadioTile>
<RadioTile value="1" disabled>
Standard plan
</RadioTile>
<RadioTile value="2" disabled>
Plus plan
</RadioTile>
</TileGroup>