@gdn/react-card
TypeScript icon, indicating that this package has built-in type declarations

0.2.53 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @gdn/react-card

Weekly Downloads

1

Version

0.2.53

License

MIT

Unpacked Size

13.6 kB

Total Files

8

Last publish

Collaborators

  • usfarag
  • andreamarchioroguidion
  • eagleman
  • yigit-guidion
  • arisarsen
  • fonseppink
  • guidion-bot
  • victor.sheyanov