mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-01 05:05:25 +08:00
REMOVE resize
This commit is contained in:
parent
32520f861e
commit
afcaefc4c2
@ -11,10 +11,7 @@ export interface ScrollProps {
|
||||
}
|
||||
|
||||
const Scroll = styled(({ vertical, horizontal, ...rest }: ScrollProps) => (
|
||||
<OverlayScrollbarsComponent
|
||||
options={{ scrollbars: { autoHide: 'scroll' }, resize: 'both' }}
|
||||
{...rest}
|
||||
/>
|
||||
<OverlayScrollbarsComponent options={{ scrollbars: { autoHide: 'scroll' } }} {...rest} />
|
||||
))<ScrollProps>(
|
||||
({ vertical }) =>
|
||||
!vertical
|
||||
|
Loading…
x
Reference in New Issue
Block a user