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) 501 B
/// <reference types="react" /> import { AccountSectionProps } from '@open-tender/ui'; declare const AccountSection: ({ title, subtitle, path, hasMore, navigate, content, children, type }: { title: string; subtitle?: string; path: string; hasMore: boolean; navigate: (route: string) => void; content: React.ReactNode; children: (props: AccountSectionProps) => React.ReactNode; type: 'rewards' | 'orders'; }) => import("react").ReactNode; export default AccountSection;