thinky-card

0.0.5 • Public • Published

Thinky Cards

This package produces a single function with the following signature:

buildCard([
    {
      type: string,
      ...args
    }
  ])

The function takes a list of "Blocks" that will be represented in the card. Each entry contains a type and some arguments that are type specific. If the type does not exist, no component for that block will be rendered.

The function will return a single React component that represents the complete card.

Readme

Keywords

none

Package Sidebar

Install

npm i thinky-card

Weekly Downloads

1

Version

0.0.5

License

ISC

Last publish

Collaborators

  • psachs21
  • seethruhead