Skip to content

Commit

Permalink
fix: Focus on known use cases
Browse files Browse the repository at this point in the history
  • Loading branch information
meissadia committed Aug 9, 2023
1 parent b3225ad commit 624c1b6
Showing 1 changed file with 3 additions and 25 deletions.
28 changes: 3 additions & 25 deletions src/components/Icon/Icon.stories.tsx
Expand Up @@ -79,12 +79,9 @@ export const IconWithText = (): React.ReactElement => {
<thead>
<tr>
<th>Element</th>
<th>Plain Icon</th>
<th>Round Icon</th>
<th>Square Icon</th>
<th>Plain Icon Left</th>
<th>Round Icon Left</th>
<th>Square Icon Left</th>
<th>Text + Icon</th>
<th>Icon + Text</th>
<th>Round Icon + Text</th>
</tr>
</thead>
<tbody>
Expand All @@ -101,19 +98,6 @@ export const IconWithText = (): React.ReactElement => {
</DynamicTag>
</td>

<td>
<DynamicTag className='u-icon-after-text'>
{element} text
<Icon name='zero' withBg />
</DynamicTag>
</td>

<td>
<DynamicTag className='u-icon-after-text'>
{element} text
<Icon name='facebook' withBg />
</DynamicTag>
</td>
<td>
<DynamicTag className='u-icon-before-text'>
<Icon name='email' />
Expand All @@ -126,12 +110,6 @@ export const IconWithText = (): React.ReactElement => {
{element} text
</DynamicTag>
</td>
<td>
<DynamicTag className='u-icon-before-text'>
<Icon name='facebook' withBg />
{element} text
</DynamicTag>
</td>
</tr>
);
})}
Expand Down

0 comments on commit 624c1b6

Please sign in to comment.