@navikt/ds-react
Version:
React components from the Norwegian Labour and Welfare Administration.
18 lines (17 loc) • 637 B
TypeScript
import { BaseAlert } from "../../base-alert";
type LocalAlertTitleProps = BaseAlert.TitleProps;
/**
* Title component for LocalAlert. Remember to use correct heading-level with the `as` prop.
* @see 🏷️ {@link LocalAlertTitleProps}
* @example
* ```jsx
* <LocalAlert>
* <LocalAlert.Header>
* <LocalAlert.Title as="h2">Info title</LocalAlert.Title>
* </LocalAlert.Header>
* </LocalAlert>
* ```
*/
declare const LocalAlertTitle: import("react").ForwardRefExoticComponent<BaseAlert.TitleProps & import("react").RefAttributes<HTMLHeadingElement>>;
export { LocalAlertTitle };
export type { LocalAlertTitleProps };