@financial-times/n-card

8.0.3 • Public • Published

n-card

Inline documentation for required and optional properties is in each component's js file, these follow the JSDoc @param format

Demos for configurations are found here with source code in ./demos directory. The property objects are generally built in n-section and passed through.

The Video cards don't have demos but it will create a card with the right data attributes for oVideo to pick up when it gets instantiated on the page.

Using without n-section

This repo can now be used without requiring n section or using the JSON layout config. Simply use the Card component and this will do the work to deciding which underlying card type to use.

If you are using n-section don't use the Card component, it won't work.

Readme

Keywords

none

Package Sidebar

Install

npm i @financial-times/n-card

Weekly Downloads

0

Version

8.0.3

License

MIT

Last publish

Collaborators

  • robertboulton
  • seraph2000
  • hamza.samih
  • notlee
  • emmalewis
  • aendra
  • the-ft
  • rowanmanning
  • chee
  • alexwilson