/* 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.Path', attrs: { body: { d: 'M 0 0 L 100 0 L 100 100 L 0 100 Z', fill: PRIMARY, }, label: { text: 'Path', }, }, }, ]); function Main() { return (
); } export default function App() { return (
); }