import * as __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__ from "react/jsx-runtime";
import "react";
import * as __WEBPACK_EXTERNAL_MODULE__tachybase_client__ from "@tachybase/client";
import * as __WEBPACK_EXTERNAL_MODULE__tachybase_components__ from "@tachybase/components";
const scope = [
    {
        label: 'v1',
        value: 'v1'
    },
    {
        label: 'nested',
        value: 'nested',
        children: [
            {
                label: 'v2',
                value: 'v2'
            }
        ]
    }
];
const schema = {
    type: 'object',
    properties: {
        input: {
            type: 'string',
            title: "表达式模式",
            'x-decorator': 'FormItem',
            'x-component': 'Variable.TextArea',
            'x-component-props': {
                scope
            }
        }
    }
};
const demo2_rslib_entry_ = ()=>/*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__tachybase_client__.SchemaComponentProvider, {
        components: {
            Variable: __WEBPACK_EXTERNAL_MODULE__tachybase_client__.Variable,
            FormItem: __WEBPACK_EXTERNAL_MODULE__tachybase_components__.FormItem
        },
        children: /*#__PURE__*/ (0, __WEBPACK_EXTERNAL_MODULE_react_jsx_runtime__.jsx)(__WEBPACK_EXTERNAL_MODULE__tachybase_client__.SchemaComponent, {
            schema: schema
        })
    });
export { demo2_rslib_entry_ as default };
