/* eslint-disable react-perf/jsx-no-new-object-as-prop */ import { PAPER_CLASSNAME, PRIMARY } from 'storybook-config/theme'; import '../index.css'; import { createElements, GraphProvider, Paper } from '@joint/react'; const initialElements = createElements([ { id: '1', x: 20, y: 25, width: 100, height: 100, type: 'standard.Polygon', attrs: { body: { points: '0,0 100,0 100,100 0,100', fill: PRIMARY, }, label: { text: 'Polygon', }, }, }, ]); function Main() { return (
); } export default function App() { return (
); }