@engie-group/fluid-design-system-react
Version:
Fluid Design System React
25 lines (24 loc) • 710 B
TypeScript
import React, { ComponentPropsWithoutRef, HTMLProps } from 'react';
export declare const NJCard: React.ForwardRefExoticComponent<ICardProps & React.RefAttributes<HTMLDivElement>>;
export interface ICardProps extends ComponentPropsWithoutRef<'div'> {
/**
* 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<HTMLProps<unknown>>;
/**
* Optional additional className
*/
className?: string;
}