npm

Need private packages and team management tools?Check out npm Orgs. »

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

install

npm i react-utility-component

Downloadsweekly downloads

1

version

1.1.6

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability