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