thinky-card
v0.0.5
Published
Provides a single thinky card according to generic parameters.
Downloads
3
Readme
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.