Sha256: a34504d670acc0a989aeb8602c6fa0ca44a737afd3449c35f449950e3fe33c77

Contents?: true

Size: 1.08 KB

Versions: 158

Compression:

Stored size: 1.08 KB

Contents

import React from 'react'
import { Flex, FlexItem, Title } from  '../..'

const FlexInline = () => {
  return (
    <>
      <div className="flex-doc-example">
        <Title
            size={4}
            text="Row"
        />
        <br />
        <Flex
            className="bg_light"
            inline
        >
          <FlexItem>
            {'1'}
          </FlexItem>
          <FlexItem>
            {'2'}
          </FlexItem>
          <FlexItem>
            {'3'}
          </FlexItem>
          <FlexItem>
            {'4'}
          </FlexItem>
        </Flex>

        <br />
        <Title
            size={4}
            text="Column"
        />
        <br />
        <Flex
            className="bg_light"
            inline
            orientation="column"
        >
          <FlexItem>
            {'1'}
          </FlexItem>
          <FlexItem>
            {'2'}
          </FlexItem>
          <FlexItem>
            {'3'}
          </FlexItem>
          <FlexItem>
            {'4'}
          </FlexItem>
        </Flex>
      </div>
    </>
  )
}

export default FlexInline

Version data entries

158 entries across 158 versions & 1 rubygems

Version Path
playbook_ui-7.11.1 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.11.0 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.11.0.pre.alpha1 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.10.0 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.9.0 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.8.4 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.8.3 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.8.2 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.8.1 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.8.0 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.7.0.pre.alpha1 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.7.0 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.6.2.pre.alpha1 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.6.2 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.6.1.pre.alpha1 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.6.1 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.6.0 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.5.1 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.5.0 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.4.2 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx