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.4.1 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.4.0.pre.alpha6 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.4.0.pre.alpha5 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.4.0 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.4.0.pre.test4 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.4.0.pre.test3 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.4.0.pre.test2 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.4.0.pre.alpha4 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.4.0.pre.alpha2 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.4.0.pre.alpha1 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.3.0.pre.alpha12 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.3.0 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.3.0.pre.alpha11 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.3.0.pre.alpha10 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.3.0.pre.alpha9 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.3.0.pre.alpha8 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.3.0.pre.alpha7 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.3.0.pre.alpha6 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.3.0.pre.alpha5 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-7.3.0.pre.alpha4 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx