mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-10-03 03:21:56 +02:00
20 lines
388 B
JavaScript
20 lines
388 B
JavaScript
var React = require("react");
|
|
|
|
var Locale = require("../../../lib/locale");
|
|
var locale = new Locale();
|
|
var page = "derivatives";
|
|
|
|
var Derivatives = React.createClass({
|
|
getDefaultProps: function() {
|
|
return {
|
|
title: locale.getTitle(page)
|
|
};
|
|
},
|
|
|
|
render: function() {
|
|
return <section>{ locale.getContent(page, this) }</section>;
|
|
}
|
|
});
|
|
|
|
module.exports = Derivatives;
|