UNPKG

@engie-group/fluid-design-system-react

Version:

Fluid Design System React

30 lines (29 loc) 807 B
import React, { ComponentPropsWithoutRef } from 'react'; export declare const NJCard: React.ForwardRefExoticComponent<ICardProps & React.RefAttributes<HTMLDivElement>>; export interface ICardProps extends ComponentPropsWithoutRef<'div'> { /** * Card header * @deprecated Use the `headline` prop on the CardBody instead. */ headerText?: string; /** * Whether Card has the Engie's Ray at the bottom or not */ hasBottomBorder?: boolean; /** * Whether Card is displayed horizontally or not */ isHorizontal?: boolean; /** * Body of the Card */ children?: React.ReactNode; /** * Card image */ image?: React.ReactNode | React.ReactElement; /** * Optional additional className */ className?: string; }