@gctools-components/recommendation-card

1.1.0 • Public • Published

Recommendation card

Recommendation cards provide a consistent interface for recommendations throughout GCTools and potentially other GoC sites.

Installation

yarn add @gctools-components/recommendation-card

Usage

import React from 'react';
import RecommendationCard, { CardContainer }
  from '@gctools-components/recommendation-card';

const demo = () => (
  <CardContainer
    loaded
    cards={[
      <RecommendationCard
        key="1"
        type="gcpedia-article"
        title="testing 123"
        rank={1}
      />,
  ]}
  />
);

export default demo;

Copyright

© Her Majesty the Queen in Right of Canada, as represented by the Minister of the National Research Council, 2017

Readme

Keywords

Package Sidebar

Install

npm i @gctools-components/recommendation-card

Weekly Downloads

0

Version

1.1.0

License

MIT

Last publish

Collaborators

  • steph4104
  • ethanwallace
  • piet0024
  • belliveaul