Sha256: 6df861908c568419d622cbe499c74bb93ebede9ece2dc393b709f1e516c06a56

Contents?: true

Size: 559 Bytes

Versions: 1194

Compression:

Stored size: 559 Bytes

Contents

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

const GaugeHeight = (props) => (
  <div>
    <Gauge
        chartData={[ { name: 'Pixels', value: 400 } ]}
        height="400"
        id="gauge-height-px"
        suffix="px"
        title="Fixed Height in Pixels"
        {...props}
    />
    <Gauge
        chartData={[ { name: 'Percentage', value: 45 } ]}
        height="45%"
        id="gauge-height-percent"
        suffix="%"
        title="Height as Percentage of Width"
        {...props}
    />
  </div>
)

export default GaugeHeight

Version data entries

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

Version Path
playbook_ui_docs-14.15.0.pre.alpha.PBNTR617addgriddisplayglobalprop6700 app/pb_kits/playbook/pb_gauge/docs/_gauge_height.jsx
playbook_ui-14.15.0.pre.alpha.PBNTR617addgriddisplayglobalprop6700 app/pb_kits/playbook/pb_gauge/docs/_gauge_height.jsx
playbook_ui_docs-14.15.0.pre.alpha.play1910emptystatekitreactbeta6685 app/pb_kits/playbook/pb_gauge/docs/_gauge_height.jsx
playbook_ui-14.15.0.pre.alpha.play1910emptystatekitreactbeta6685 app/pb_kits/playbook/pb_gauge/docs/_gauge_height.jsx
playbook_ui_docs-14.15.0.pre.alpha.play1757pbcontenttag6677 app/pb_kits/playbook/pb_gauge/docs/_gauge_height.jsx
playbook_ui-14.15.0.pre.alpha.play1757pbcontenttag6677 app/pb_kits/playbook/pb_gauge/docs/_gauge_height.jsx
playbook_ui_docs-14.15.0.pre.alpha.PLAY1756pbcontenttagpt76661 app/pb_kits/playbook/pb_gauge/docs/_gauge_height.jsx
playbook_ui-14.15.0.pre.alpha.PLAY1756pbcontenttagpt76661 app/pb_kits/playbook/pb_gauge/docs/_gauge_height.jsx
playbook_ui_docs-14.15.0.pre.alpha.play1757pbcontenttag6658 app/pb_kits/playbook/pb_gauge/docs/_gauge_height.jsx
playbook_ui-14.15.0.pre.alpha.play1757pbcontenttag6658 app/pb_kits/playbook/pb_gauge/docs/_gauge_height.jsx
playbook_ui_docs-14.15.0.pre.alpha.play1757pbcontenttag6644 app/pb_kits/playbook/pb_gauge/docs/_gauge_height.jsx
playbook_ui-14.15.0.pre.alpha.play1757pbcontenttag6644 app/pb_kits/playbook/pb_gauge/docs/_gauge_height.jsx
playbook_ui_docs-14.16.0.pre.rc.2 app/pb_kits/playbook/pb_gauge/docs/_gauge_height.jsx
playbook_ui-14.16.0.pre.rc.2 app/pb_kits/playbook/pb_gauge/docs/_gauge_height.jsx
playbook_ui_docs-14.15.0.pre.alpha.PBNTR900phonenumberinputhidden6620 app/pb_kits/playbook/pb_gauge/docs/_gauge_height.jsx
playbook_ui-14.15.0.pre.alpha.PBNTR900phonenumberinputhidden6620 app/pb_kits/playbook/pb_gauge/docs/_gauge_height.jsx
playbook_ui_docs-14.15.0.pre.alpha.play1917lodashremoval2of36615 app/pb_kits/playbook/pb_gauge/docs/_gauge_height.jsx
playbook_ui-14.15.0.pre.alpha.play1917lodashremoval2of36615 app/pb_kits/playbook/pb_gauge/docs/_gauge_height.jsx
playbook_ui_docs-14.15.0.pre.alpha.play1917lodashremoval2of36613 app/pb_kits/playbook/pb_gauge/docs/_gauge_height.jsx
playbook_ui-14.15.0.pre.alpha.play1917lodashremoval2of36613 app/pb_kits/playbook/pb_gauge/docs/_gauge_height.jsx