import React from "react";
import { DataEditorAll as DataEditor } from "../../data-editor-all.js";
import {
BeautifulWrapper,
Description,
MoreInfo,
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) => (
Large amounts of data can be copied and customized using{" "}
getCellsForSelection.
The data is copied into a format ready to be pasted into Excel or Google Sheets
>
}>
),
],
};
export const CopySupport: React.VFC = () => {
const { cols, getCellContent, onColumnResize, setCellValue } = useMockDataGenerator(10, false);
return (
);
};