Sha256: d40b8111943f3be5fa05bc90b13d93e1de327cd15352838eb39362ebb892a9aa

Contents?: true

Size: 1.22 KB

Versions: 1919

Compression:

Stored size: 1.22 KB

Contents

import React from 'react'

import Layout from '../_layout'

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

const LayoutColor = (props) => {
  return (
    <div>
      <Layout
          collapse="md"
          position="left"
          size="sm"
          {...props}
      >
        <Layout.Side>
          {'Light'}
        </Layout.Side>
        <Layout.Body>
          {'Body'}
        </Layout.Body>
      </Layout>

      <br />
      <br />

      <Layout
          collapse="md"
          position="left"
          size="sm"
          variant="dark"
          {...props}
      >
        <Layout.Side>
          <Body
              dark
              text="Dark"
              {...props}
          />
        </Layout.Side>
        <Layout.Body>
          {'Body'}
        </Layout.Body>
      </Layout>

      <br />
      <br />

      <Layout
          collapse="md"
          position="left"
          size="sm"
          variant="gradient"
          {...props}
      >
        <Layout.Side>
          <Body
              dark
              text="Gradient"
              {...props}
          />
        </Layout.Side>
        <Layout.Body>
          {'Body'}
        </Layout.Body>
      </Layout>
    </div>
  )
}

export default LayoutColor

Version data entries

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

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