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

17 lines (16 loc) 534 B
import { InputButtonProps, Styles } from '@open-tender/ui'; import { ReactNode } from 'react'; declare const InputButton: ({ label, value, open, isRequired, style, labelStyle, showOptionalLabel, error, children }: { label?: string; value: string; open: () => void; isRequired?: boolean; style?: Styles; labelStyle?: Styles; showOptionalLabel?: boolean; error?: string; children: (props: InputButtonProps & { error?: string; }) => ReactNode; }) => ReactNode; export default InputButton;