Package Exports
- react-inline-block
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-inline-block) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-inline-block
InlineBlock element for React
A div with display set to inline-block
Install
$ npm i --save react-inline-blockUsage
<InlineBlock>
hello
</InlineBlock>
// => <div style={{display: 'inline-block'}}> hello </div>Notes
The inline-block display value is set on the style prop.
The following
<InlineBlock style={{display: 'block'}}> </InlineBlock>will still render a div with display: inline-block.
Contributing
$ git clone git@github.com:zippyui/react-inline-block.git
$ cd react-inline-block
$ npm install
$ npm run dev