Skip to content

Commit

Permalink
fix(field): replace _active classname by isActive prop
Browse files Browse the repository at this point in the history
  • Loading branch information
thoomasbro committed Oct 26, 2023
1 parent 9a58d6f commit 8adc788
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions stories/elements/IconButton.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,13 +101,13 @@ function ShowcaseReference() {
<tr>
<th>Active</th>
<td>
<IconButton accent={Accent.PRIMARY} className="_active" Icon={Icon.Search} size={Size.LARGE} />
<IconButton accent={Accent.PRIMARY} Icon={Icon.Search} isActive size={Size.LARGE} />
</td>
<td>
<IconButton accent={Accent.PRIMARY} className="_active" Icon={Icon.Search} size={Size.NORMAL} />
<IconButton accent={Accent.PRIMARY} Icon={Icon.Search} isActive size={Size.NORMAL} />
</td>
<td>
<IconButton accent={Accent.PRIMARY} className="_active" Icon={Icon.Search} size={Size.SMALL} />
<IconButton accent={Accent.PRIMARY} Icon={Icon.Search} isActive size={Size.SMALL} />
</td>
</tr>
<tr>
Expand Down Expand Up @@ -164,13 +164,13 @@ function ShowcaseReference() {
<tr>
<th>Active</th>
<td>
<IconButton accent={Accent.SECONDARY} className="_active" Icon={Icon.Search} size={Size.LARGE} />
<IconButton accent={Accent.SECONDARY} Icon={Icon.Search} isActive size={Size.LARGE} />
</td>
<td>
<IconButton accent={Accent.SECONDARY} className="_active" Icon={Icon.Search} size={Size.NORMAL} />
<IconButton accent={Accent.SECONDARY} Icon={Icon.Search} isActive size={Size.NORMAL} />
</td>
<td>
<IconButton accent={Accent.SECONDARY} className="_active" Icon={Icon.Search} size={Size.SMALL} />
<IconButton accent={Accent.SECONDARY} Icon={Icon.Search} isActive size={Size.SMALL} />
</td>
</tr>
<tr>
Expand Down Expand Up @@ -227,13 +227,13 @@ function ShowcaseReference() {
<tr>
<th>Active</th>
<td>
<IconButton accent={Accent.TERTIARY} className="_active" Icon={Icon.Search} size={Size.LARGE} />
<IconButton accent={Accent.TERTIARY} Icon={Icon.Search} isActive size={Size.LARGE} />
</td>
<td>
<IconButton accent={Accent.TERTIARY} className="_active" Icon={Icon.Search} size={Size.NORMAL} />
<IconButton accent={Accent.TERTIARY} Icon={Icon.Search} isActive size={Size.NORMAL} />
</td>
<td>
<IconButton accent={Accent.TERTIARY} className="_active" Icon={Icon.Search} size={Size.SMALL} />
<IconButton accent={Accent.TERTIARY} Icon={Icon.Search} isActive size={Size.SMALL} />
</td>
</tr>
<tr>
Expand Down

0 comments on commit 8adc788

Please sign in to comment.