@gdn/react-card
v0.2.53
Published
Guidion - Geluk leidt tot succes en niet andersom
Downloads
19
Maintainers
Keywords
Readme
Guidion React Card Component
Install
$ npm install @gdn/react-card --save
Usage
import Card from '@gdn/react-card';
Dependencies
Material Icons https://material.io/icons/
Card properties
export interface CardProps {
content: CardDetails;
}
export interface CardDetails {
cardImage?: any;
title: string;
link: CardLink;
text: string;
footerIcon?: string;
gatsbyLink?: boolean;
}
export interface CardLink {
type: string;
url: string;
color: string;
target?: string;
}
Example implementation
https://github.com/GuidionDev/library/tree/master/src/examples/react-example