import { GlobalScrollbar as GScrollbar, type GlobalScrollbarProps, MacScrollbar, type MacScrollbarProps, } from 'mac-scrollbar'; export const GlobalScrollbar: React.FC = (props) => { return ( (horizontal ? { height: 0 } : { width: 0 })} {...props} /> ); }; export const Scrollbar: React.FC = (props) => { const { className = '', ...rest } = props; return ( (horizontal ? { height: 0 } : { width: 0 })} {...rest} className={`text-theme ${className}`} /> ); };