import { jsx } from "react/jsx-runtime";
import "react";
import { useSchemaInitializerItem } from "../../application/index.mjs";
import { InitializerWithSwitch } from "./InitializerWithSwitch.mjs";
const ActionInitializer = (props)=>{
    const itemConfig = useSchemaInitializerItem();
    return /*#__PURE__*/ jsx(InitializerWithSwitch, {
        ...itemConfig,
        ...props,
        item: itemConfig,
        type: 'x-action'
    });
};
export { ActionInitializer };
