()
| 55 | } |
| 56 | |
| 57 | function Main() { |
| 58 | const elements = useElements<BaseElementWithData>(); |
| 59 | return ( |
| 60 | <div style={{ display: 'flex', flexDirection: 'row' }}> |
| 61 | <Paper width="100%" className={PAPER_CLASSNAME} height={280} renderElement={RenderElement} /> |
| 62 | <div style={{ display: 'flex', flexDirection: 'column' }}> |
| 63 | {elements.map((item) => { |
| 64 | return <ElementInput key={item.id} {...item} />; |
| 65 | })} |
| 66 | </div> |
| 67 | </div> |
| 68 | ); |
| 69 | } |
| 70 | |
| 71 | export default function App() { |
| 72 | return ( |
nothing calls this directly
no test coverage detected