UNPKG

@devfamily/admiral

Version:

Admiral is a frontend framework for creating back office using React. It provides out-of-the-box components and tools that make developing an admin interface easy and fast.

10 lines (9 loc) 408 B
import React from 'react'; import type { SwitchProps } from '../../ui/Switch/interfaces'; import { FormItemProps } from '../Item'; import { InputComponentWithName } from '../interfaces'; export interface BooleanInputProps extends SwitchProps, FormItemProps { name: string; onChange?: (value: boolean) => void; } export declare const BooleanInput: InputComponentWithName<React.FC<BooleanInputProps>>;