Sha256: 99c329e909de90324659294cdb6739413829378fa8861817cebdf73b572a55ac

Contents?: true

Size: 544 Bytes

Versions: 948

Compression:

Stored size: 544 Bytes

Contents

import React from 'react'
import { Gauge } from 'playbook-ui'

const data1 = [
  { name: 'Data Used', value: 32 },
]
const data2 = [
  { name: 'Sales to Date', value: 65 },
]

const GaugeUnits = (props) => (
  <div>
    <Gauge
        chartData={data1}
        id="gauge-units1"
        suffix="GB"
        title="Data Usage"
        {...props}
    />
    <Gauge
        chartData={data2}
        id="gauge-units2"
        prefix="$"
        suffix="k"
        title="Sales Goal"
        {...props}
    />
  </div>
)

export default GaugeUnits

Version data entries

948 entries across 948 versions & 2 rubygems

Version Path
playbook_ui-14.11.0.pre.rc.17 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui-14.11.0 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui_docs-14.11.0.pre.rc.16 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui-14.11.0.pre.rc.16 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui_docs-14.10.0.pre.alpha.play16825301 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui-14.10.0.pre.alpha.play16825301 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui_docs-14.11.0.pre.rc.15 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui-14.11.0.pre.rc.15 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui_docs-14.11.0.pre.rc.14 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui-14.11.0.pre.rc.14 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui_docs-14.11.0.pre.rc.13 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui-14.11.0.pre.rc.13 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui_docs-14.11.0.pre.rc.12 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui-14.11.0.pre.rc.12 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui_docs-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5274 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5274 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui_docs-14.10.0.pre.alpha.play1465attempt25272 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui-14.10.0.pre.alpha.play1465attempt25272 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui_docs-14.10.0.pre.alpha.play16825244 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui-14.10.0.pre.alpha.play16825244 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx