1.0.0-alpha.30 • Published 5 years ago

@talixo/columns v1.0.0-alpha.30

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Talixo Columns

UI Component which represents Columns

How to install

Package is available as @talixo/columns in NPM registry, so you can use it in your project using npm install @talixo/columns --save or yarn add @talixo/columns.

Requirements

Your package should additionally have some extra dependencies:

  • @talixo/icon: ^1.0.0-alpha.30
  • @talixo/shared: ^1.0.0-alpha.30
  • prop-types: ^15.6.1
  • react: ^16.2.0
  • react-dom: ^16.2.0

These packages are required by @talixo/columns, but you have to install them manually, to avoid having different versions of these in your application.

Supported props

Columns

It allows any props which are allowed for div. Additionally, it handles some differently:

Property nameTypeDefaultDescription
classNamestringn/aadditional class name passed to wrapper
childrennoden/acontent to display in component
maxColumnsnumbern/amax columns number in row

ColumnsElement

It allows any props which are allowed for div. Additionally, it handles some differently:

Property nameTypeDefaultDescription
classNamestringn/aadditional class name passed to wrapper
childrennoden/acontent to display in component
maxColumnsnumbern/amax columns number in row
iconnoden/aicon in header with indent content

Changelog

  • 0.1.0 - initial version