@another-ui/flex
TypeScript icon, indicating that this package has built-in type declarations

0.18.2 • Public • Published

@another-ui/flex

Just another flex layout for React

Usage

import React from 'react';
import { Flex } from '@another-ui/flex';
import '@another-ui/flex/dist/flex.css';

export const Example = () => (
  <Flex
    align="stretch"
    direction="row"
    justify="center"
    wrap
  >
    <Flex
      align="center"
      direction="column"
      grow
      justify="start"
      shrink
    >
      <Flex basis={50} grow>Flex</Flex>
      <Flex basis={25} shrink>Flex</Flex>
    </Flex>
  </Flex>
);

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.18.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.18.2
    1

Package Sidebar

Install

npm i @another-ui/flex

Weekly Downloads

1

Version

0.18.2

License

MIT

Unpacked Size

14.3 kB

Total Files

19

Last publish

Collaborators

  • nghuudan