JSPM

pavex-react-ui-layout

1.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q23165F
  • License MIT

React row/col layout components

Package Exports

  • pavex-react-ui-layout

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (pavex-react-ui-layout) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

react-ui-layout

React row/col layout components

<Cols>
    <Col size={200} align='right' padding={16}>
        <div style={{backgroundColor: 'lightyellow', height: '100%'}}>A</div>
    </Col>
    <Col size={200} align='right' padding>
        <div style={{backgroundColor: 'lightgreen', height: '100%'}}>B</div>
    </Col>
    <Col size={100}>
        <Rows>
            <Row size={200}>
                C
            </Row>
            <Row align='bottom' size={100}>
                D
            </Row>
            <Row>
                E
            </Row>
        </Rows>
    </Col>
    <Col>
        F
    </Col>
</Cols>