UNPKG

@helpwave/hightide

Version:

helpwave's component and theming library

19 lines (16 loc) 612 B
import * as react_jsx_runtime from 'react/jsx-runtime'; import { PropsForTranslation } from '../hooks/useTranslation.mjs'; import '../hooks/useLanguage.mjs'; import 'react'; 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 };