Class

MultiColumns

MultiColumns(props) → {React.ReactElement}

Constructor

# new MultiColumns(props) → {React.ReactElement}

Overview

A component that is going to display an array of elements inside of a 'div' and assign width property to each one of them.

Usage

Children have 90% of available width. Then each child gets (90% / number of columns) of width.
Parameters:
Name Type Attributes Default Description
props Object

Any other props will be forwarded to root element.

children React.ReactNode <optional>

The content of the component.

classes Object <optional>

Override or extend the styles applied to the component.

numberOfColumns number <optional>
3

Preferable number of columns in the component.

View Source Utils/Containers/MultiColumns.js, line 33

React.ReactElement