Skip to content

Commit

Permalink
chip
Browse files Browse the repository at this point in the history
  • Loading branch information
KTibow committed Jan 26, 2025
1 parent 7850b0d commit 9abc18f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/demos.md
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ let selected = false;
<div slot="demo">
<Chip
type={style.split(" ")[0]}
type={style.startsWith("assist") ? "assist" : style.startsWith("general") ? "general" : "input"}
elevated={style.endsWith("elevated")}
icon={iconType == "left" ? iconCircle : undefined}
trailingIcon={iconType == "right" ? iconSquare : undefined}
Expand Down

0 comments on commit 9abc18f

Please sign in to comment.