Sha256: 7b985743dadf6d9515998a64797a958d903bd04a5baf45c2b798f79484235bc5

Contents?: true

Size: 1.27 KB

Versions: 948

Compression:

Stored size: 1.27 KB

Contents

import React from 'react'
import { Flex, FlexItem, Title } from 'playbook-ui'

const FlexReverse = (props) => {
  return (
    <>
      <div className="flex-doc-example">
        <Title
            size={4}
            text="Row"
            {...props}
        />
        <br />
        <Flex
            className="bg_light"
            justify="start"
            orientation="row"
            reverse
            {...props}
        >
          <FlexItem>
            {'1'}
          </FlexItem>
          <FlexItem>
            {'2'}
          </FlexItem>
          <FlexItem>
            {'3'}
          </FlexItem>
          <FlexItem>
            {'4'}
          </FlexItem>
        </Flex>

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

export default FlexReverse

Version data entries

948 entries across 948 versions & 2 rubygems

Version Path
playbook_ui_docs-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5340 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5340 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui_docs-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5339 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui-14.11.1.pre.alpha.PLAY1750pbcontenttagkitbutton5339 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui_docs-14.12.0.pre.rc.3 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui-14.12.0.pre.rc.3 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui_docs-14.12.0.pre.rc.2 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui-14.12.0.pre.rc.2 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui_docs-14.12.0.pre.rc.1 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui-14.12.0.pre.rc.1 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui_docs-14.12.0.pre.rc.0 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui-14.12.0.pre.rc.0 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui_docs-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5315 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5315 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui_docs-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5314 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui-14.10.0.pre.alpha.PLAY1774timelinelabelstepspacing5314 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui_docs-14.10.0.pre.alpha.PLAY1750pbcontenttagkitbutton5308 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui-14.10.0.pre.alpha.PLAY1750pbcontenttagkitbutton5308 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui-14.11.1 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui_docs-14.11.0.pre.rc.17 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx