react-copyright-year

0.1.1 • Public • Published

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

Package Sidebar

Install

npm i react-copyright-year

Weekly Downloads

2

Version

0.1.1

License

none

Unpacked Size

19.4 kB

Total Files

12

Last publish

Collaborators

  • jpotapova