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

1.1.9 • Public • Published

@artifak/flex

A flexbox version of @artifak/flex. You can also view the docs at Artifak Flex.

Installation

Yarn

yarn add @artifak/flex

NPM

npm install @artifak/flex

Usage

Below is an example of how you may use it.

import { FlexRow, FlexCol } from '@artifak/flex';

export const Blog = () => {
  return (
    <FlexRow>
      <FlexCol columnSize={[12, 6, 4]}>Column 1<FlexCol>
      <FlexCol columnSize={[12, 6, 4]}>Column 2<FlexCol>
      <FlexCol columnSize={[12, 6, 4]}>Column 3<FlexCol>
    </FlexRow>
  );
};

Package Sidebar

Install

npm i @artifak/flex

Weekly Downloads

1

Version

1.1.9

License

MIT

Unpacked Size

385 kB

Total Files

19

Last publish

Collaborators

  • heyjules