Sha256: ca8e0419065b86f0ae0403b21acf31b75868dd68f03325170e5efca30aa10eb6

Contents?: true

Size: 1.52 KB

Versions: 94

Compression:

Stored size: 1.52 KB

Contents

import React from 'react'
import { Layout } from '../../'

const LayoutSizes = (props) => {
  return (
    <div>
      <Layout
          collapse="xs"
          position="left"
          size="xs"
          {...props}
      >
        <Layout.Side>
          {'Side'}
        </Layout.Side>
        <Layout.Body>
          {'Body'}
        </Layout.Body>
      </Layout>

      <br />
      <br />

      <Layout
          collapse="xs"
          position="left"
          size="sm"
          {...props}
      >
        <Layout.Side>
          {'Side'}
        </Layout.Side>
        <Layout.Body>
          {'Body'}
        </Layout.Body>
      </Layout>

      <br />
      <br />

      <Layout
          collapse="xs"
          position="left"
          size="md"
          {...props}
      >
        <Layout.Side>
          {'Side'}
        </Layout.Side>
        <Layout.Body>
          {'Body'}
        </Layout.Body>
      </Layout>

      <br />
      <br />

      <Layout
          collapse="xs"
          position="left"
          size="lg"
          {...props}
      >
        <Layout.Side>
          {'Side'}
        </Layout.Side>
        <Layout.Body>
          {'Body'}
        </Layout.Body>
      </Layout>

      <br />
      <br />

      <Layout
          collapse="xs"
          position="left"
          size="xl"
          {...props}
      >
        <Layout.Side>
          {'Side'}
        </Layout.Side>
        <Layout.Body>
          {'Body'}
        </Layout.Body>
      </Layout>
    </div>
  )
}

export default LayoutSizes

Version data entries

94 entries across 94 versions & 1 rubygems

Version Path
playbook_ui-9.3.0.alpha.inline2 app/pb_kits/playbook/pb_layout/docs/_layout_sizes.jsx
playbook_ui-9.3.0.alpha.inline1 app/pb_kits/playbook/pb_layout/docs/_layout_sizes.jsx
playbook_ui-9.3.0.pre.alpha.password.strength.1 app/pb_kits/playbook/pb_layout/docs/_layout_sizes.jsx
playbook_ui-9.3.0 app/pb_kits/playbook/pb_layout/docs/_layout_sizes.jsx
playbook_ui-9.2.2.pre.alpha.margin app/pb_kits/playbook/pb_layout/docs/_layout_sizes.jsx
playbook_ui-9.2.2 app/pb_kits/playbook/pb_layout/docs/_layout_sizes.jsx
playbook_ui-9.2.1 app/pb_kits/playbook/pb_layout/docs/_layout_sizes.jsx
playbook_ui-9.2.0 app/pb_kits/playbook/pb_layout/docs/_layout_sizes.jsx
playbook_ui-9.1.0 app/pb_kits/playbook/pb_layout/docs/_layout_sizes.jsx
playbook_ui-9.0.0 app/pb_kits/playbook/pb_layout/docs/_layout_sizes.jsx
playbook_ui-8.3.0.alpha.select.pre.margin app/pb_kits/playbook/pb_layout/docs/_layout_sizes.jsx
playbook_ui-8.3.0 app/pb_kits/playbook/pb_layout/docs/_layout_sizes.jsx
playbook_ui-8.2.1.pre.alpha5 app/pb_kits/playbook/pb_layout/docs/_layout_sizes.jsx
playbook_ui-8.2.1.pre.alpha4 app/pb_kits/playbook/pb_layout/docs/_layout_sizes.jsx
playbook_ui-8.2.1.alpha.iconacc app/pb_kits/playbook/pb_layout/docs/_layout_sizes.jsx
playbook_ui-8.2.1.pre.alpha3 app/pb_kits/playbook/pb_layout/docs/_layout_sizes.jsx
playbook_ui-8.2.1.pre.alpha2 app/pb_kits/playbook/pb_layout/docs/_layout_sizes.jsx
playbook_ui-8.3.0.deps2 app/pb_kits/playbook/pb_layout/docs/_layout_sizes.jsx
playbook_ui-8.3.0.pre.alpha1 app/pb_kits/playbook/pb_layout/docs/_layout_sizes.jsx
playbook_ui-8.2.1.pre.alpha1 app/pb_kits/playbook/pb_layout/docs/_layout_sizes.jsx