@mattilsynet/designsystem-svelte
Version:
Design system for Mattilsynet
11 lines (10 loc) • 327 B
TypeScript
import type { ErrorDetail } from '../../../ts';
interface Props {
errors?: ErrorDetail[];
heading: string;
linkToFields?: boolean;
hasFocusOnLoad: boolean;
}
declare const ErrorSummary: import("svelte").Component<Props, {}, "">;
type ErrorSummary = ReturnType<typeof ErrorSummary>;
export default ErrorSummary;