Sha256: d40b8111943f3be5fa05bc90b13d93e1de327cd15352838eb39362ebb892a9aa

Contents?: true

Size: 1.22 KB

Versions: 1924

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,924 entries across 1,924 versions & 2 rubygems

Version Path
playbook_ui-12.8.0.pre.alpha.PLAY645typescriptprogresstep297 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-12.8.0.pre.alpha.rubyandnpmalpharelease296 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-12.8.0.pre.alpha.rubyandnpmalpharelease295 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-12.8.0.pre.alpha.rubyandnpmalpharelease294 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-12.8.0 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-12.7.1.pre.alpha.rubyandnpmalpharelease293 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-12.7.1.pre.alpha.rubyandnpmalpharelease292 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-12.7.1.pre.alpha.rubyandnpmalpharelease291 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-12.7.1.pre.alpha.alpharubyrelease281 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-12.7.1.pre.alpha.menu2 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-12.7.1.pre.alpha.menu1 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-12.7.1 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-12.7.0 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-12.6.0.pre.alpha.sectionseparator1 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-12.6.0.pre.alpha.menuyml1 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-12.6.0.pre.alpha.collapsible1 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-12.6.0.pre.alpha.cssphone1 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-12.6.0 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-12.5.0.pre.alpha.datepickerinput1 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-12.5.0.pre.alpha.phonerails1 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx