Skip to content
This repository has been archived by the owner on Aug 5, 2019. It is now read-only.

Releases: jxnblk/reflexbox

v2 Higher Order Component

31 Jul 15:24
Compare
Choose a tag to compare

Reflexbox has been rewritten as a higher order component.

What's new

  • Reflex higher order component to provide style helper props on any component
  • The Reflex higher order component extends functionality from the Robox higher order component to handle margin, padding, and other layout styles.
  • Basic -webkit vendor prefixing support for older versions of Safari (more to come)
  • Tests have been rewritten with ava and enzyme
  • Flex and Box components now share all the same props. The naming is intended to help with backwards compatibility and code readability.

Breaking changes

  • Flex component no longer supports boolean sm, md, or lg props to set display: flex. If you rely on this functionality, you might want to wait for a future release with an alternative solution.
  • The is prop has been deprecated. Instead use the Reflex higher order component to enhance other components.