0.1.1 • Published 4 years ago

react-copyright-year v0.1.1

Weekly downloads
8
License
-
Repository
-
Last release
4 years ago

react-copyright-year

A React component to display copyright symbol followed by a current year

react-copyright-year preview

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 symbol
  • suffix - (optional, string) text to be displayed after a generated year

License

MIT