Table of contents
— Quick start
— Status
— What's included
— Usage
— Quick links
— Maintainers
Quick start
A couple quick start options are available:
— Install with npm i copyright-update
.
— Install with yarn add copyright-update
.
Status
What's included
copyright-update
is a super simple component. Within the download you'll find the following directories and files:
copyright-update └── src/ └── index.js
Usage
Install the package.
npm i copyright-update
In the example below, we are going to import
the copyright-update
component into a Footer.
import React, { Component } from 'react'; class CopyrightUpdate extends Component { render() { return (© {new Date().getFullYear()}); } } export default CopyrightUpdate;
Style the component using the CSS classname .copyright-update
.
.copyright-update { display: inline-block; margin-left: .5rem; }
Quick links
— Go to copyright-update
on GitHub.
— Go to copyright-update
on NPM.
By contributing your code, you agree to license your contribution under the MIT License.