compat-card

0.10.4 • Public • Published

compat-card

NPM version

Usage

Here is a quick example to get you started, it's all you need:

import React from 'react';
...
import CompatCard from 'compat-card';
 
function App() {
  return (
    <CompatCard />
  );
}

Props

{
  id: string, //required
  title: string, //required
  image: string,
  subtitle: string,
  headerText: string,
  contentTitle: string,
  contentText: string,
  primaryText: string,
  secondaryText: string,
  headerButton: node,
  footerButtonLabel: string,
  footerIcon: node,
  footerStatus: {
    status: string,
    text: string
  },
  onSelect: func,
  onFooterButtonClick: func,
  onHeaderButtonClick: func
}

Readme

Keywords

none

Package Sidebar

Install

npm i compat-card

Weekly Downloads

42

Version

0.10.4

License

none

Unpacked Size

112 kB

Total Files

26

Last publish

Collaborators

  • ungp-softplan