Sha256: 8dffb75be92ad67467a5da325790a37c7e06238326eef37ef33bbf18e76dafdc

Contents?: true

Size: 1.39 KB

Versions: 918

Compression:

Stored size: 1.39 KB

Contents

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

const CollapsibleIcons = (props) => {

  return (
  <>
  <Collapsible
      icon={['plus','minus']}
      iconColor='white'
  >
    <Collapsible.Main {...props}>
      <div>{'Main Section'}</div>
    </Collapsible.Main>
    <Collapsible.Content>
      <div>
        {
          'Lorem ipsum dolor sit amet, consectetur adipiscing elit. In vel erat sed purus hendrerit viverra. Duis et vestibulum metus. Sed consequat ut ante non vehicula. Etiam nunc massa, pharetra vel quam id, posuere rhoncus quam. Quisque imperdiet arcu enim, nec aliquet justo auctor eget. Curabitur in metus nec nunc rhoncus faucibus vitae ac elit. Nulla facilisi. Vestibulum quis pretium nulla. Nulla ut accumsan velit. Duis varius urna sed sem tempor, sit amet fermentum nibh auctor. Praesent lorem arcu, egestas non ante quis, placerat pellentesque lectus.Vestibulum lacinia ipsum quis venenatis tristique. Vivamus suscipit, libero eu fringilla egestas, orci urna commodo arcu, vel gravida turpis ipsum molestie nibh. Donec cursus eu ante sagittis ultrices. Phasellus id sagittis risus. Mauris dapibus neque faucibus, tempor ligula vel, cursus ante. Donec faucibus gravida porta. Nullam egestas est quis aliquam feugiat. Sed eget metus diam. Cras eget placerat libero.'
        }
      </div>
    </Collapsible.Content>
  </Collapsible>
  </>
  )
}

export default CollapsibleIcons

Version data entries

918 entries across 918 versions & 2 rubygems

Version Path
playbook_ui_docs-14.11.1.pre.alpha.play1724darkmodeauditmap5437 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_icons.jsx
playbook_ui-14.11.1.pre.alpha.play1724darkmodeauditmap5437 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_icons.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR719listdraggablesimple5432 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_icons.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR719listdraggablesimple5432 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_icons.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR768stickyrightcolumn5431 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_icons.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR768stickyrightcolumn5431 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_icons.jsx
playbook_ui_docs-14.12.0.pre.rc.6 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_icons.jsx
playbook_ui-14.12.0.pre.rc.6 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_icons.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5415 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_icons.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5415 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_icons.jsx
playbook_ui_docs-14.11.1.pre.alpha.play1724darkmodeauditmap5413 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_icons.jsx
playbook_ui-14.11.1.pre.alpha.play1724darkmodeauditmap5413 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_icons.jsx
playbook_ui_docs-14.12.0.pre.rc.5 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_icons.jsx
playbook_ui-14.12.0.pre.rc.5 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_icons.jsx
playbook_ui_docs-14.11.1.pre.alpha.play1724darkmodeauditmap5409 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_icons.jsx
playbook_ui-14.11.1.pre.alpha.play1724darkmodeauditmap5409 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_icons.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5400 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_icons.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5400 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_icons.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5392 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_icons.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5392 app/pb_kits/playbook/pb_collapsible/docs/_collapsible_icons.jsx