UNPKG

@alifd/meet-react

Version:

Fusion Mobile React UI System Component

13 lines (12 loc) 466 B
/// <reference types="react" /> /// <reference types="react" /> import { FieldElement, FieldElementProps } from '../field'; import { SwitchProps } from '../switch'; import './index.scss'; export type SelectFieldProps = Omit<FieldElementProps, 'onChange'> & SwitchProps; export default class SwitchField extends FieldElement { static displayName: string; getValueName(): string; renderPreview(value: any): JSX.Element; renderControl(): JSX.Element; }