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