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) 536 B
import { KeypadProps, KeypadModalProps } from '@open-tender/ui'; import React, { ReactNode } from 'react'; declare const MadeForName: ({ subtitle, hasMadeFor, madeFor, setMadeFor, close, children, KeypadView, title }: { subtitle: string; title: string; hasMadeFor: boolean; madeFor: string | null; setMadeFor: (madeFor: string) => void; close: () => void; children: (props: KeypadModalProps) => ReactNode; KeypadView: (props: KeypadProps) => ReactNode; }) => React.ReactNode; export default MadeForName;