react-utility-component

1.1.6 • Public • Published

react-utility-component

Getting started

npm install react-utility-component --save

Components

No. Name Type
1 Responsive Component
2 Adaptive Component
3 Fetch Component
4 FetchMore Component
5 LoadingHoc HOC
6 IfInView Component

How to use

Responsive Component

import React, { Component } from 'react'
 
import { Responsive } from 'react-utility-component';
 
export default class index extends Component {
    render() {
        return (
            <div>
                <Responsive 
                breakpoint={'md'} 
                narrowScreen={<div>show for narrow screen mode</div>} 
                wideScreen={<div>show for wide screen mode</div>} />
            </div>
        )
    }
}

And more components coming soon document....

Inspire and extend from nextwebjs

Dependencies (0)

    Dev Dependencies (15)

    Package Sidebar

    Install

    npm i react-utility-component

    Weekly Downloads

    3

    Version

    1.1.6

    License

    MIT

    Unpacked Size

    133 kB

    Total Files

    16

    Last publish

    Collaborators

    • naruebaet.b