Sha256: 4414b0d74b3da921d6ec8a55dbafeb4a7cbeb5540c25f6eb1c8ad731cdc98ddc

Contents?: true

Size: 652 Bytes

Versions: 1229

Compression:

Stored size: 652 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 text=" highlight wrapped."/>
    </Body>
    <br />
    <Body
        highlightedText={['highlighted', 'Body Kit ']}
        highlighting
        text="This is text highlighted in the Body Kit using the text prop."
        {...props}
    />
  </div>
)

export default HighlightDefault

Version data entries

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

Version Path
playbook_ui_docs-14.8.0.pre.alpha.PLAY1649rolloutheightglobalprops4635 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-14.8.0.pre.alpha.PLAY1649rolloutheightglobalprops4635 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui_docs-14.9.0.pre.rc.8 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-14.9.0.pre.rc.8 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui_docs-14.8.0.pre.alpha.PLAY1598floatinguiupgrade4617 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-14.8.0.pre.alpha.PLAY1598floatinguiupgrade4617 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui_docs-14.9.0.pre.rc.7 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-14.9.0.pre.rc.7 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui_docs-14.9.0.pre.rc.6 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-14.9.0.pre.rc.6 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui_docs-14.9.0.pre.rc.5 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-14.9.0.pre.rc.5 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui_docs-14.8.0.pre.alpha.pbntr661createstickyleftprop4612 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-14.8.0.pre.alpha.pbntr661createstickyleftprop4612 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui_docs-14.8.0.pre.alpha.play1648heightglobalprops4606 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-14.8.0.pre.alpha.play1648heightglobalprops4606 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui_docs-14.9.0.pre.rc.4 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-14.9.0.pre.rc.4 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui_docs-14.9.0.pre.rc.3 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx
playbook_ui-14.9.0.pre.rc.3 app/pb_kits/playbook/pb_highlight/docs/_highlight_default.jsx