1.0.5 • Published 4 years ago
react-deep-placeholder v1.0.5
react-deep-placeholder
A Light-weight React Component to use as a placeholder for any type of data
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
Props
- data
- label : Custom label for the data
License
MIT © Anish110910