@project44-manifest/react
Version:
Manifest Design System react components
35 lines • 1.24 kB
TypeScript
import { CSS } from '@project44-manifest/react-styles';
import type { ForwardRefComponent } from '@project44-manifest/react-types';
interface ActionCardProps {
/** Theme aware style object */
css?: CSS;
/** The href link to navigate to when the card is clicked */
href: string;
}
declare const ActionCard: ForwardRefComponent<"a", ActionCardProps>;
interface ActionCardBodyProps {
/** Theme aware style object */
css?: CSS;
}
declare const ActionCardBody: ForwardRefComponent<"div", ActionCardBodyProps>;
interface ActionCardHeaderProps {
/** Theme aware style object */
css?: CSS;
}
declare const ActionCardHeader: ForwardRefComponent<"div", ActionCardHeaderProps>;
interface ActionCardImageProps {
/** Theme aware style object */
css?: CSS;
/**
* The size of the card image
*
* @default 'large'
*/
size?: 'large' | 'small';
/** The source for the image */
src: string;
}
declare const ActionCardImage: ForwardRefComponent<"div", ActionCardImageProps>;
export type { ActionCardBodyProps, ActionCardHeaderProps, ActionCardImageProps, ActionCardProps };
export { ActionCard, ActionCardBody, ActionCardHeader, ActionCardImage };
//# sourceMappingURL=action-card.d.ts.map