mirror of
https://github.com/material-components/material-web.git
synced 2024-08-17 09:30:27 +03:00
chore(list): add extra label for disabled non-interactive item
PiperOrigin-RevId: 627705146
This commit is contained in:
parent
0aea4364a1
commit
faf03c2c93
@ -83,7 +83,8 @@ const interactive: MaterialStoryInit<StoryKnobs> = {
|
||||
</md-list-item>
|
||||
|
||||
<md-list-item ?disabled=${knobs.disabled}>
|
||||
Non-interactive item ${getKnobContent(knobs)}
|
||||
Non-interactive item ${knobs.disabled ? '(disabled)' : nothing}
|
||||
${getKnobContent(knobs)}
|
||||
</md-list-item>
|
||||
</md-list>
|
||||
`;
|
||||
|
Loading…
Reference in New Issue
Block a user