import { jsx as _jsx } from "@emotion/react/jsx-runtime";
import { createComponent } from '@meta-ui/core';
import { Type } from '@sinclair/typebox';
import _Text, { TextPropertySchema } from '../_internal/Text';
const Text = ({ value }) => {
    return _jsx(_Text, { value: value }, void 0);
};
const StateSchema = Type.Object({
    value: Type.String(),
});
const PropsSchema = Type.Object({
    value: TextPropertySchema,
});
export default Object.assign(Object.assign({}, createComponent({
    version: 'core/v1',
    metadata: {
        name: 'text',
        displayName: 'Text',
        description: 'support plain and markdown formats',
        isDraggable: true,
        isResizable: false,
        exampleProperties: {
            value: {
                raw: 'text',
                format: 'plain',
            },
        },
        exampleSize: [4, 1],
    },
    spec: {
        properties: PropsSchema,
        state: StateSchema,
        methods: [],
        slots: [],
        styleSlots: [],
        events: [],
    },
})), { impl: Text });
//# sourceMappingURL=Text.js.map