@engie-group/fluid-design-system-react
Version:
Fluid Design System React
13 lines (12 loc) • 597 B
TypeScript
import { CardCoverProperties } from '@engie-group/fluid-types';
import React from 'react';
import { AsChild, HTMLAttributesWithoutComponentProps } from '../../utils/typeHelpers';
export declare const NJCardCover: React.ForwardRefExoticComponent<NJCardCoverProps & React.RefAttributes<HTMLAnchorElement>>;
export type CardCoverOwnProps = CardCoverProperties & {
/**
* Card title semantic element
* @default 'h4'
*/
headingElement?: React.ElementType;
};
export type NJCardCoverProps = CardCoverOwnProps & AsChild<HTMLAttributesWithoutComponentProps<'a', CardCoverOwnProps>>;