1
0
mirror of https://github.com/Pomax/BezierInfo-2.git synced 2025-02-25 10:02:58 +01:00
BezierInfo-2/components/SectionHeader.jsx
2016-01-23 10:40:48 -08:00

14 lines
291 B
JavaScript

var React = require("react");
var SectionHeader = React.createClass({
render: function() {
return (
<h2 id={this.props.name} data-num={this.props.number}>
<a href={'#' + this.props.name}>{this.props.title}</a>
</h2>
);
}
});
module.exports = SectionHeader;