MCPcopy Create free account
hub / github.com/LuisMPS/build-ui / SectionView

Function SectionView

examples/tutorial/src/components/ui/section/SectionView.js:4–19  ·  view source on GitHub ↗
({
    id,
    ...props
})

Source from the content-addressed store, hash-verified

2import Section from './Section';
3
4const 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
21export default SectionView;

Callers

nothing calls this directly

Calls 1

useEditorFunction · 0.90

Tested by

no test coverage detected