@navikt/ds-react
Version:
React components from the Norwegian Labour and Welfare Administration.
16 lines (15 loc) • 494 B
TypeScript
import React from "react";
import { OverridableComponent } from "../../util/types";
export interface ErrorSummaryItemProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
/**
* Link text
*/
children: React.ReactNode;
/**
* Link to errormessage
*/
href?: string;
}
type ErrorSummaryItemType = OverridableComponent<ErrorSummaryItemProps, HTMLAnchorElement>;
export declare const ErrorSummaryItem: ErrorSummaryItemType;
export default ErrorSummaryItem;