Sha256: 10a49535ba9261dfca0be25c3bf750285f5cf152a031008c206c14026371c0a5

Contents?: true

Size: 1.18 KB

Versions: 94

Compression:

Stored size: 1.18 KB

Contents

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

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

94 entries across 94 versions & 1 rubygems

Version Path
playbook_ui-9.19.0 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-9.19.0.pre.alphafonts app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-9.18.0.flow.bin.alpha app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-9.18.0 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-9.17.0 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-9.17.0.pre.decouple.website2 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-9.16.0 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-9.15.0 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-9.15.0.pre.decouple.website1 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-9.14.1.alpha.radio.alignment app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-9.14.1.alpha.highcharts9 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-9.14.1 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-9.13.0 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-9.12.0 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-9.12.0.pre.text.addon app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-9.11.0 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-9.10.0 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-9.10.0.pre.date.time.stacked.1 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-9.10.0.pre.alpha2 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx
playbook_ui-9.10.0.pre.alpha1 app/pb_kits/playbook/pb_layout/docs/_layout_colors.jsx