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.play1724darkmodeauditmap5437 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui-14.11.1.pre.alpha.play1724darkmodeauditmap5437 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR719listdraggablesimple5432 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR719listdraggablesimple5432 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR768stickyrightcolumn5431 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR768stickyrightcolumn5431 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui_docs-14.12.0.pre.rc.6 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui-14.12.0.pre.rc.6 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5415 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5415 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui_docs-14.11.1.pre.alpha.play1724darkmodeauditmap5413 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui-14.11.1.pre.alpha.play1724darkmodeauditmap5413 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui_docs-14.12.0.pre.rc.5 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui-14.12.0.pre.rc.5 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui_docs-14.11.1.pre.alpha.play1724darkmodeauditmap5409 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui-14.11.1.pre.alpha.play1724darkmodeauditmap5409 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5400 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5400 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui_docs-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5392 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx
playbook_ui-14.11.1.pre.alpha.PBNTR718simiplifieddraggablereact5392 app/pb_kits/playbook/pb_flex/docs/_flex_reverse.jsx