Sha256: 064a5d02a256ddd23d027612b25d48dce923d823290b85858e75af31e6f28b74

Contents?: true

Size: 624 Bytes

Versions: 94

Compression:

Stored size: 624 Bytes

Contents

import React from 'react'
import { Body, Highlight } from '../../'

const HighlightDefault = (props) => (
  <div>
    <Highlight
        highlightedText={['highlight kit']}
        text="This is the Highlight Kit"
        {...props}
    />
    <br />
    <Body>
      {' '}
      {'Hello this is a'}
      {' '}
      <Highlight>{' highlight wrapped'}</Highlight>
    </Body>
    <br />
    <Body
        highlightedText={['highlighted in the Body Kit ']}
        highlighting
        text="This is text highlighted in the Body Kit using the text prop."
        {...props}
    />
  </div>
)

export default HighlightDefault

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
playbook_ui-9.19.0 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-9.19.0.pre.alphafonts app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-9.18.0.flow.bin.alpha app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-9.18.0 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-9.17.0 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-9.17.0.pre.decouple.website2 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-9.16.0 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-9.15.0 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-9.15.0.pre.decouple.website1 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-9.14.1.alpha.radio.alignment app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-9.14.1.alpha.highcharts9 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-9.14.1 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-9.13.0 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-9.12.0 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-9.12.0.pre.text.addon app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-9.11.0 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-9.10.0 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-9.10.0.pre.date.time.stacked.1 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-9.10.0.pre.alpha2 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-9.10.0.pre.alpha1 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx