socialtables/catalyst — pull request #5 by mcwhittemore (2014-11-12 04:29:04+00:00)
Title: One Element To Rule Them All

This POC is looking at trying to use a single element to be all the parts of the grid. To get this element you pass opt to the Catalyst factory (detailed below) and get back a single simple element. This element currently has three exposed props, detailed below.

**opts**
* numColumns: size an element needs to be to be equal to 100% width when it has no catalyst component parent.

**props**
* style: defaults to `{}`
* size: required int -> 0 ... n
* max: defaults to `owner.size || opts.numColumns`

One of the main goals of setting `props.max` to the owners `props.size` is that it keeps the size of a `size={4}` element the same even if its inside of a `size={12}` or a `size={n}`. This is one thing I've always found painful about bootstrap.