import {designComponent} from "@peryl/react-compose"; import {OvPropsOption} from "../Ov/ov.utils"; import {usePublicOv} from "../Ov/usePublicOv"; import {PlcSelect} from "../Table/editor/PlcSelect"; import {SelectOption} from "../SelectOption"; import {PlcScopeSlotsOptions} from "../Table/plc/utils/plc.scope-slots"; import {inheritSlots} from "../../utils/inheritSlots"; export const PlcOv = designComponent({ name: 'plc-ov', inheritPropsType: PlcSelect, props: OvPropsOption, scopeSlots: PlcScopeSlotsOptions, slots: ['default'], setup({ props, slots, scopeSlots }) { const { state } = usePublicOv({ props }); return () => ( state.ovMetas.map(meta => ()) } })} /> ); }, }); export default PlcOv;