1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 09:35:10 +01:00
onion/js/components/piece.js
Tim Daubenschütz 54866cda84 Improved naming
2015-05-26 10:52:20 +02:00

18 lines
308 B
JavaScript

import React from 'react';
/**
* This is the component that implements display-specific functionality
*/
let Piece = React.createClass({
propTypes: {
title: React.PropTypes.string.isRequired
},
render() {
return (
<p>Title: {this.props.title}</p>
);
}
});
export default Piece;