Skip to content

Commit 624c1b6

Browse files
committed
fix: Focus on known use cases
1 parent b3225ad commit 624c1b6

File tree

1 file changed

+3
-25
lines changed

1 file changed

+3
-25
lines changed

src/components/Icon/Icon.stories.tsx

Lines changed: 3 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -79,12 +79,9 @@ export const IconWithText = (): React.ReactElement => {
7979
<thead>
8080
<tr>
8181
<th>Element</th>
82-
<th>Plain Icon</th>
83-
<th>Round Icon</th>
84-
<th>Square Icon</th>
85-
<th>Plain Icon Left</th>
86-
<th>Round Icon Left</th>
87-
<th>Square Icon Left</th>
82+
<th>Text + Icon</th>
83+
<th>Icon + Text</th>
84+
<th>Round Icon + Text</th>
8885
</tr>
8986
</thead>
9087
<tbody>
@@ -101,19 +98,6 @@ export const IconWithText = (): React.ReactElement => {
10198
</DynamicTag>
10299
</td>
103100

104-
<td>
105-
<DynamicTag className='u-icon-after-text'>
106-
{element} text
107-
<Icon name='zero' withBg />
108-
</DynamicTag>
109-
</td>
110-
111-
<td>
112-
<DynamicTag className='u-icon-after-text'>
113-
{element} text
114-
<Icon name='facebook' withBg />
115-
</DynamicTag>
116-
</td>
117101
<td>
118102
<DynamicTag className='u-icon-before-text'>
119103
<Icon name='email' />
@@ -126,12 +110,6 @@ export const IconWithText = (): React.ReactElement => {
126110
{element} text
127111
</DynamicTag>
128112
</td>
129-
<td>
130-
<DynamicTag className='u-icon-before-text'>
131-
<Icon name='facebook' withBg />
132-
{element} text
133-
</DynamicTag>
134-
</td>
135113
</tr>
136114
);
137115
})}

0 commit comments

Comments
 (0)