@siteone/system-components

1.0.0 • Public • Published

@siteone/system-components

package version package downloads standard-readme compliant package license make a pull request

Essential components for SiteOne design system

Table of Contents

Install

This project uses node and npm.

$ npm install @siteone/system-components
$ # OR
$ yarn add @siteone/system-components

Usage

size

Column width in cols - n of 12 (unless reconfigured)

justifyContent

Block axis alignment

flexDirection

Flex items placement direction

alignItems

Cross axis alignment

debug

Debug grid

Col

Grid column

Parameters

  • size {number} Number of grid columns to fill
  • justifyContent {string} Block axis alignment
  • flexDirection {string} Flex items placement direction
  • alignItems {string} Cross axis alignment

Returns React$Component Grid column

Contribute

  1. Fork it and create your feature branch: git checkout -b my-new-feature
  2. Commit your changes: git commit -am "Add some feature"
  3. Push to the branch: git push origin my-new-feature
  4. Submit a pull request

License

MIT © SiteOne, contributors, sourced packages authors & contributors

Dependencies (0)

    Dev Dependencies (9)

    Package Sidebar

    Install

    npm i @siteone/system-components

    Weekly Downloads

    33

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    277 kB

    Total Files

    59

    Last publish

    Collaborators

    • supermartin
    • siteonecz
    • hlavo-siteone
    • viktorbezdek
    • jiri.cerhan