This commit is contained in:
Mary Hipp
2025-03-19 13:50:24 -04:00
committed by psychedelicious
parent 702054aa62
commit df90da28e1
2 changed files with 5 additions and 2 deletions

View File

@@ -21,7 +21,10 @@ type Props = {
extraCopyActions?: { label: string; getData: (data: unknown) => unknown }[];
} & FlexProps;
const overlayscrollbarsOptions = getOverlayScrollbarsParams('scroll', 'scroll').options;
const overlayscrollbarsOptions = getOverlayScrollbarsParams({
overflowX: 'scroll',
overflowY: 'scroll',
}).options;
const DataViewer = (props: Props) => {
const { label, data, fileName, withDownload = true, withCopy = true, extraCopyActions, ...rest } = props;