UNPKG

@helpwave/hightide

Version:

helpwave's component and theming library

18 lines (15 loc) 607 B
import * as react_jsx_runtime from 'react/jsx-runtime'; import { PropsForTranslation } from '../../localization/useTranslation.js'; import '../../localization/util.js'; type ErrorComponentTranslation = { errorOccurred: string; }; type ErrorComponentProps = { errorText?: string; classname?: string; }; /** * The Component to show when an error occurred */ declare const ErrorComponent: ({ overwriteTranslation, errorText, classname }: PropsForTranslation<ErrorComponentTranslation, ErrorComponentProps>) => react_jsx_runtime.JSX.Element; export { ErrorComponent, type ErrorComponentProps };