react-copyright-notice-component
v0.1.1
Published
A React component to render copyright notices
Maintainers
Readme
React Component for Copyright Notice (<CopyrightNotice />)
Use this component to put a semantic copyright notice on a page with React.
Getting started
Installation
npm install react-copyright-notice-component --save
# or
yarn add react-copyright-notice-componentUsage
For a minimal/generic copyright notice, assuming the current year:
<CopyrightNotice></CopyrightNotice><span class="copyright-notice"
>©
<span property="dc:date" datatype="xsd:gYear">2019</span>
</span>Give it more to work with by specifying a copyright holder:
<CopyrightNotice copyrightHolder="Michael Bluth"></CopyrightNotice><span class="copyright-notice"
><span>©</span>
<span property="dc:date" datatype="xsd:gYear">2019</span>
<span>Michael Bluth</span></span
>...and/or specify the year:
<CopyrightNotice copyrightHolder="Michael Bluth" year="2003"></CopyrightNotice><span class="copyright-notice"
><span>©</span>
<span property="dc:date" datatype="xsd:gYear">2003</span>
<span>Michael Bluth</span></span
>Running the tests
npm test
# or, for a coverage report:
npm run test:coverageLicense
This project is licensed under the MIT License. See the LICENSE file for details.
