UNPKG

@open-tender/ui

Version:

A component library for use with the Open Tender web app

15 lines (14 loc) 467 B
import React from 'react'; import { Handlers, ScreenConfig, Styles } from '../types'; export interface InputProps { config: ScreenConfig; labelConfig: ScreenConfig; handlers: Handlers; label?: string; value: string; isRequired?: boolean; style?: Styles; labelStyle?: Styles; } declare const Input: ({ config, handlers, label, value, isRequired, style, labelStyle, labelConfig }: InputProps) => React.JSX.Element; export default Input;