Sha256: 0c5903324a7888b0d2b003f53563929e638f7236f1949f2ff980c3268794bae7

Contents?: true

Size: 364 Bytes

Versions: 948

Compression:

Stored size: 364 Bytes

Contents

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

const data = [{
  name: 'Rating', value: 4.5,
}]

const GaugeMinMax = (props) => (
  <div>
    <Gauge
        chartData={data}
        id="gauge-min-max"
        max={5}
        min={0}
        showLabels
        title="Product Rating"
        {...props}
    />
  </div>
)

export default GaugeMinMax

Version data entries

948 entries across 948 versions & 2 rubygems

Version Path
playbook_ui_docs-13.32.0.pre.alpha.PLAY14143264 app/pb_kits/playbook/pb_gauge/docs/_gauge_min_max.jsx
playbook_ui-13.32.0.pre.alpha.PLAY14143264 app/pb_kits/playbook/pb_gauge/docs/_gauge_min_max.jsx
playbook_ui_docs-13.32.0.pre.alpha.PLAY14143260 app/pb_kits/playbook/pb_gauge/docs/_gauge_min_max.jsx
playbook_ui-13.32.0.pre.alpha.PLAY14143260 app/pb_kits/playbook/pb_gauge/docs/_gauge_min_max.jsx
playbook_ui_docs-13.32.0.pre.alpha.PLAY14143255 app/pb_kits/playbook/pb_gauge/docs/_gauge_min_max.jsx
playbook_ui-13.32.0.pre.alpha.PLAY14143255 app/pb_kits/playbook/pb_gauge/docs/_gauge_min_max.jsx
playbook_ui_docs-13.32.0.pre.alpha.PLAY14143251 app/pb_kits/playbook/pb_gauge/docs/_gauge_min_max.jsx
playbook_ui-13.32.0.pre.alpha.PLAY14143251 app/pb_kits/playbook/pb_gauge/docs/_gauge_min_max.jsx