@ecoenghk/divinline

1.4.0 • Public • Published

@ecoenghk/divinline

React component with children inline

NPM JavaScript Style Guide

Install

npm install --save @ecoenghk/divinline

Usage

import React, { Component } from 'react'

import DivInline from '@ecoenghk/divinline'
import '@ecoenghk/divinline/dist/index.css'

class Example extends Component {
  render() {
    return <DivInline>{children}</DivInline>
  }
}

License

MIT © ecoenghk

Readme

Keywords

none

Package Sidebar

Install

npm i @ecoenghk/divinline

Weekly Downloads

0

Version

1.4.0

License

MIT

Unpacked Size

4.74 kB

Total Files

7

Last publish

Collaborators

  • ecoenghk