Sha256: a7e6d19c88ca4d4143e27a4a848e869a881225ae737f1947d44aef84b5701503

Contents?: true

Size: 963 Bytes

Versions: 20

Compression:

Stored size: 963 Bytes

Contents

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

const FlexInline = () => {
  return (
    <>
      <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>

    </>
  )
}

export default FlexInline

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
playbook_ui-4.11.0.pre.alpha3 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-4.11.0.pre.alpha.pre.2 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-4.10.0 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-4.10.0.pre.alpha1 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-4.9.0.pre.alpha1 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-4.9.0 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-4.8.2 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-4.8.1 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-4.7.1 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-4.7.0 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-4.6.1 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-4.6.0 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-4.5.2 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-4.5.1 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-4.5.0 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-4.4.1 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-4.4.0 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-4.3.1 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-4.3.0 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx
playbook_ui-4.2.0 app/pb_kits/playbook/pb_flex/docs/_flex_inline.jsx