REMOVE resize

This commit is contained in:
Norbert de Langen 2020-01-11 00:37:31 +01:00
parent 32520f861e
commit afcaefc4c2
No known key found for this signature in database
GPG Key ID: 976651DA156C2825

View File

@ -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