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

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