@open-tender/ui
Version:
A component library for use with the Open Tender web app
11 lines (10 loc) • 354 B
TypeScript
import React, { ReactNode } from 'react';
import { ScreenConfig, Styles } from '../types';
export interface ErrorMessageProps {
config: ScreenConfig;
children: string;
icon?: ReactNode;
style?: Styles;
}
declare const ErrorMessage: ({ config, children, icon, style }: ErrorMessageProps) => React.JSX.Element;
export default ErrorMessage;