import React from 'react'; import IOTSwitch from '../IOTSwitch'; import {IOTSwitchProps} from '../interface'; const props: IOTSwitchProps = { type: 'bool', streamId: 'Power', title: '功能名称功能名称功能名称功能名称功能名称功能名称', subTitle: { show: true, value: '功能名称功能名称功能名称功能名称功能名称功能名称功能名称功能名称功能名称功能名称', }, icon: { value: 'insideicon-cu-1', show: true, }, curValue: true, disabled: false, handler: (val: any) => { // console.log(val); }, streamName: '' }; export default () => ;