React Lite Space
React component for space.
Demo http://ui.talk.ai/react-lite-space
Usage
npm i --save react-lite-space
Props, only use one of them, be either vertical or horizontal:
width
value for inline CSS, defaults to100%
height
value for inline CSS, defaults to '1em'
React = require 'react' Space = ReactcreateFactory require 'react-lite-space' ReactDOM module.exports = ReactcreateClass displayName: 'app-page' : -> div className: 'app-page' div style: @styleLine span null'text' Space width: 10 span null'text' Space height: 20 div style: @styleLine span null'text' Space width: 20 span null'text'
Develop
https://github.com/teambition/coffee-webpack-starter
License
MIT