Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
children,
className,
removeScrollBar,
enabled,
shards,
sideCar,
noIsolation,
inert,
allowPinchZoom,
...rest
} = props;
const SideCar: SideCarComponent = sideCar;
const containerProps = {
ref: useMergeRefs([
ref,
parentRef as React.MutableRefObject
]),
...rest,
...callbacks
};
return (
{enabled && (