Sha256: c012dadc40e146a294f7de2ea655ca1512287bf6f95566d86b728734a568efa1

Contents?: true

Size: 539 Bytes

Versions: 1065

Compression:

Stored size: 539 Bytes

Contents

import React from 'react'
import { Gauge } from '../../'

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

1,065 entries across 1,065 versions & 2 rubygems

Version Path
playbook_ui_docs-13.34.1.pre.alpha.play1407statvaluekitinconsistencies3388 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui-13.34.1.pre.alpha.play1407statvaluekitinconsistencies3388 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui_docs-13.34.1.pre.alpha.PLAY14703378 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui-13.34.1.pre.alpha.PLAY14703378 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui_docs-13.34.1 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui-13.34.1 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui_docs-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3370 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3370 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui_docs-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3369 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3369 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3368 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui_docs-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3366 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui-13.34.0.pre.alpha.PBNTR358responsiveadvancedtablereact3366 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui-13.34.0 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui_docs-13.33.1.pre.alpha.play1407statvaluekitinconsistencies3352 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui-13.33.1.pre.alpha.play1407statvaluekitinconsistencies3352 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui_docs-13.33.1.pre.alpha.PLAY14063320 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui-13.33.1.pre.alpha.PLAY14063320 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui-13.33.1 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx
playbook_ui_docs-13.33.0.pre.alpha.PBNTR405dropdownformfixesrails3311 app/pb_kits/playbook/pb_gauge/docs/_gauge_units.jsx