import React , { PureComponent } from "react" ; import { DefaultProps } from "fx-schema-form-react/libs/components" ; import { UtilsHocOutProps } from "fx-schema-form-react/libs/hocs/utils" ; import schemaFormReact from "fx-schema-form-react" ; const { schemaFormTypes } = schemaFormReact ; export interface Props extends DefaultProps , UtilsHocOutProps { } export const tempKey = "none" ; export class Temp extends PureComponent < Props > { public render ( ) { const { children , getOptions } = this . props ; const { className } = getOptions ( this . props , schemaFormTypes . template , tempKey ) ; return < div > { children } < /div>; } } export default { [ tempKey ] : Temp } ;