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

10 lines (9 loc) 327 B
import { ErrorMessageProps, Styles } from '@open-tender/ui'; import { ReactNode } from 'react'; declare const ErrorMessage: ({ content, icon, style, children }: { content: string; icon?: ReactNode; style?: Styles; children: (props: ErrorMessageProps) => ReactNode; }) => ReactNode; export default ErrorMessage;