Home

Awesome

React <Copyright>

A react-component to format and display a copyright notice.

Getting Started

Usage

var React     = require('react');
var Copyright = require('react-copyright');

var Component = React.createClass({
  render: function () {
    return (
      <Copyright>Jason Bellamy</Copyright>
    );
  }
});

Options

PropertyTypeArgumentValuesDefaultDescription
datestring<optional>RFC2822/ISO8601todayRFC2822/ISO8601 format.
formatstring<optional>numeric, 2-digitnumericrepresentation format.
positionstring<optional>pre, postpreplacement of the copyright year.

Developing

react-copyright is built using ES6. Run the following task to compile the src/ into dist/.

npm run build

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality.

License

Copyright (c) 2015 Jason Bellamy
Licensed under the MIT license.