({
id,
...props
})
| 2 | import Section from './Section'; |
| 3 | |
| 4 | const SectionView = ({ |
| 5 | id, |
| 6 | ...props |
| 7 | }) => { |
| 8 | const editor = useEditor({ |
| 9 | id: id, |
| 10 | }); |
| 11 | const { |
| 12 | handleDrop, |
| 13 | } = editor; |
| 14 | return <DnDBuilder |
| 15 | onDrop = {handleDrop} |
| 16 | > |
| 17 | <Section {...props} /> |
| 18 | </DnDBuilder> |
| 19 | } |
| 20 | |
| 21 | export default SectionView; |
nothing calls this directly
no test coverage detected