1.0.5 • Published 4 years ago

react-deep-placeholder v1.0.5

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

react-deep-placeholder

A Light-weight React Component to use as a placeholder for any type of data

NPM JavaScript Style Guide

Edit react-deep-placeholder-demo

Docs

Install

npm install --save react-deep-placeholder

Usage

import React, { Component } from 'react'

import DeepPlaceholder from 'react-deep-placeholder'

class App extends Component {
  render () {
    return (
      <DeepPlaceholder data={
      [
        {
          a: 1
        },
        { 
          a: 2,
          b:{c: 3} 
        } 
      ]} label="temp_data" />
    )
  }
}

Output

alt text

Props

  • data
  • label : Custom label for the data

License

MIT © Anish110910

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago