Skip to content

Commit 7a9263f

Browse files
(Popover): pass static classnames statically
1 parent 9f5395c commit 7a9263f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

stories/Popover.stories.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import {
55
ComponentStoryObj,
66
DecoratorFn,
77
} from '@storybook/react';
8-
import classNames from 'classnames';
98

109
/**
1110
*
@@ -21,12 +20,7 @@ const paddingDecorator: DecoratorFn = (story) => (
2120
padding: '100px 350px',
2221
}}
2322
>
24-
<div
25-
className={classNames(
26-
'slds-dropdown-trigger',
27-
'slds-dropdown-trigger_click'
28-
)}
29-
>
23+
<div className='slds-dropdown-trigger slds-dropdown-trigger_click'>
3024
<Button type='icon' icon='question' />
3125
{story()}
3226
</div>

0 commit comments

Comments
 (0)