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

8 lines (7 loc) 259 B
import { CartButtonProps } from '@open-tender/ui'; import { ReactNode } from 'react'; declare const CartButton: ({ children, action }: { children: (props: CartButtonProps) => ReactNode; action?: () => void; }) => ReactNode; export default CartButton;