README
@pipeos/react-pipeos-components
Install
npm install --save @pipeos/react-pipeos-components
Usage
import React, { Component } from 'react'
import PclassList from '@pipeos/react-pipeos-components'
class Example extends Component {
render () {
const buttons = {
header: [],
contentItem: [
{
callback: () => {},
icon: {
type: 'MaterialCommunityIcons',
name: 'import',
}
}
],
}
return (
<PclassList
data={treedata}
buttons={buttons}
styles={props.styles}
pfunctionColor={this.pfunctionColor}
/>
)
}
}
License
MIT © loredanacirstea