0.1.1 • Published 4 years ago
react-copyright-year v0.1.1
react-copyright-year
A React component to display copyright symbol followed by a current year
Installation
yarn add react-copyright-year
or
npm install react-copyright-year --save
Usage
Import
import CopyrightYear from 'react-copyright-year';
Use
<CopyrightYear />
Props
You may specify:
prefix
- (optional, string) text to be displayed before copyright symbolsuffix
- (optional, string) text to be displayed after a generated year
License
MIT