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) 592 B
import { HeaderProps, SignInButtonProps, TagsButtonProps } from '@open-tender/ui'; import React, { ReactNode } from 'react'; declare const Header: ({ to, backText, backAction, pathname, navigate, children, SignInButtonView, TagsButtonView }: { to?: string; backText?: string; backAction?: () => void; pathname: string; navigate: (route: string) => void; children: (props: HeaderProps) => ReactNode; SignInButtonView: (props: SignInButtonProps) => ReactNode; TagsButtonView?: (props: TagsButtonProps) => ReactNode; }) => React.ReactNode; export default Header;