mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-02-25 10:02:58 +01:00
14 lines
291 B
JavaScript
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;
|