mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 22:21:27 +08:00
FIX warning of loading prop not being a string (#7080)
FIX warning of loading prop not being a string
This commit is contained in:
commit
b9ed9e6d55
@ -49,7 +49,11 @@ const Icon = styled(Icons)(
|
||||
({ isSelected }) => (isSelected ? { color: 'inherit' } : {})
|
||||
);
|
||||
|
||||
export const Item = styled.div(
|
||||
export const Item = styled(({ className, children, id }) => (
|
||||
<div className={className} id={id}>
|
||||
{children}
|
||||
</div>
|
||||
))(
|
||||
{
|
||||
fontSize: 13,
|
||||
lineHeight: '16px',
|
||||
|
Loading…
x
Reference in New Issue
Block a user