Sha256: c63e3e7b7c54de4c0825f01e89ffd892b8dfd0faf31cd4376cede5db29c4256c

Contents?: true

Size: 661 Bytes

Versions: 64

Compression:

Stored size: 661 Bytes

Contents

import React from 'react'

import Highlight from '../_highlight'
import Body from '../../pb_body/_body'

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

64 entries across 64 versions & 1 rubygems

Version Path
playbook_ui-10.25.0.pre.alpha3 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-10.25.0.pre.treeshaking1 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-10.24.0 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-10.24.0.pre.alpha1 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-10.23.0 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-10.23.0.pre.alpha2 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-10.23.0.pre.cachetest app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-10.23.0.pre.alpha1 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-10.22.1 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-10.22.0 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-10.21.1.pre.alpha1 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-10.21.0.pre.alpha.lightbox.2 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-10.21.0 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-10.21.0.pre.alpha.lightbox app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-10.21.0.pre.alpha.rg1 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-10.21.0.pre.alpha.jg1 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-10.21.0.pre.alpha.na1 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-10.21.0.pre.alpha.jd1 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-10.20.0 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-10.19.0 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx