import React from 'react'; import { AdditionalLayersOutlined } from '@easyv/react-icons'; import { ComponentTypeEnum, ComponentInfo, StateTypeEnum, StateInfo, UpdateStateQuery, UpdateComponentQuery, } from '@easytwin/core'; import { StateManage } from '../..'; import { ConfigForm, AttributeForm } from '../_components'; export interface TeamplateComponenterConfigProp { // componentDetail: ComponentInfo; onBaseFormValuesChange?: (values: Partial) => void; // stateList: StateInfo[]; stateSelectKey?: string; onStateTabChange?: (key?: string) => void; onUpdateState?: (state: Partial) => void; } const TeamplateComponenterConfig: React.FC = function ({ // componentDetail, onBaseFormValuesChange, // stateList, stateSelectKey, onStateTabChange, onUpdateState, }) { return (
{/* title */}
数字要素
{/* form */}
{/* config */} {componentDetail.commonConfig.config && ( onBaseFormValuesChange?.({ ...value, id: componentDetail.id, }) } /> )} {/* state */} {componentDetail.type === ComponentTypeEnum.POIPANNEL && ( )} {/* attribute */}
); }; export default TeamplateComponenterConfig;