0.2.0 • Published 1 year ago

@hashicorp/react-pricing-features v0.2.0

Weekly downloads
-
License
MPL-2.0
Repository
-
Last release
1 year ago

Pricing Features

The <PricingFeatures /> component is used to display an array of feature sections including a heading, optional footnote, and content. content can include either:

  • feature tabs with table data
  • table data on its own

Note: Tabs should display an icon image but is shown as text due to Swingset limitations. In practice, we use our <Icon /> component.

On mobile, a block is displayed that contains a pdf download button.

Each component is exported and available for use on their own: import { Table, Tabs, DownloadBlock } from '@hashicorp/react-pricing-features'

This package also exports a helper function used to format incoming data from DatoCMS normalizeTableData.

Installation

npm install @hashicorp/react-pricing-features
0.2.0

1 year ago

0.1.1

2 years ago