UNPKG

@open-tender/store

Version:

A library of hooks, reducers, utility functions, and types for use with Open Tender applications that utilize our in-store POS API

12 lines (11 loc) 381 B
import { InputProps, Styles } from '@open-tender/ui'; import { ReactNode } from 'react'; declare const Input: ({ label, value, setValue, isRequired, style, children }: { label?: string; value: string; setValue: (value: string) => void; isRequired?: boolean; style?: Styles; children: (props: InputProps) => ReactNode; }) => ReactNode; export default Input;