/** * title: Insert Adjacent */ import React from 'react'; import { SchemaComponentProvider, SchemaComponent, useDesignable } from '@nocobase/client'; import { observer, Schema, useFieldSchema } from '@formily/react'; import { Button, Space } from 'antd'; import { uid } from '@formily/shared'; const Hello = observer((props) => { const { insertAdjacent } = useDesignable(); const fieldSchema = useFieldSchema(); return (

{fieldSchema.name}

{props.children}
); }); const Page = observer((props) => { return
{props.children}
; }); export default function App() { return ( ); }