UNPKG

@helpwave/hightide

Version:

helpwave's component and theming library

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