panel.jsx
v4.0.0
Published
React Panel component
Readme
panel.jsx
React Panel component
Installation
$ npm install panel.jsxUsage
import React from 'react';
import ReactDOM from 'react-dom';
import Panel from 'panel.jsx';
class App extends React.Component {
render() {
var rows = [
{href: '#', text: 'Dog'},
{href: '#', text: 'Cat'},
{href: '#', text: 'Horse'}
];
return (
<div>
<Panel title="Animals" rows={rows} />
</div>
);
}
}
ReactDOM.render(<App />, document.getElementById('react'));Test
$ make testLicense
MIT
