1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-02-24 09:33:19 +01:00
BezierInfo-2/components/SectionHeader.jsx

10 lines
240 B
React
Raw Normal View History

2015-12-20 15:19:50 -08:00
var React = require("react");
var SectionHeader = React.createClass({
render: function() {
2016-01-02 11:27:23 -08:00
return <h2 data-num={this.props.number}><a href={'#' + this.props.name}>{this.props.title}</a></h2>;
2015-12-20 15:19:50 -08:00
}
});
module.exports = SectionHeader;