fix(SW-2101): do not apply underline to Material icons inside Link and Button
This commit is contained in:
@@ -5,6 +5,7 @@ import { fn } from '@storybook/test'
|
||||
import { Button } from './Button'
|
||||
import { config as buttonConfig } from './variants'
|
||||
import { config as typographyConfig } from '../Typography/variants'
|
||||
import { MaterialIcon } from '../Icons'
|
||||
|
||||
const meta: Meta<typeof Button> = {
|
||||
title: 'Components/Button',
|
||||
@@ -149,3 +150,15 @@ export const TextSmall: Story = {
|
||||
size: 'Small',
|
||||
},
|
||||
}
|
||||
|
||||
export const TextWithIcon: Story = {
|
||||
args: {
|
||||
...TextDefault.args,
|
||||
children: (
|
||||
<>
|
||||
<MaterialIcon icon="add" color="CurrentColor" />
|
||||
<span>Add room</span>
|
||||
</>
|
||||
),
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user