import React from "react"; import { DataEditorAll as DataEditor } from "../../data-editor-all.js"; import { BeautifulWrapper, Description, PropName, useMockDataGenerator, defaultProps, } from "../../data-editor/stories/utils.js"; import { SimpleThemeWrapper } from "../../stories/story-utils.js"; export default { title: "Glide-Data-Grid/DataEditor Demos", decorators: [ (Story: React.ComponentType) => ( You can enable smooth scrolling with the smoothScrollX and{" "} smoothScrollY props. Disabling smooth scrolling can dramatically increase performance and improve visual stability during rapid scrolling. }> ), ], }; interface SmoothScrollingGridProps { smoothScrollX: boolean; smoothScrollY: boolean; } export const SmoothScrollingGrid: React.FC = p => { const { cols, getCellContent } = useMockDataGenerator(30); return ( ); }; (SmoothScrollingGrid as any).args = { smoothScrollX: false, smoothScrollY: false, };