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