Nondeterministic Postrequisite Metaprotocol
Need private packages and team management tools?Check out npm Teams »

This package has been deprecated

Author message:

Use @ta-interaktiv/react-copyright-notice instead

ta-react-copyright-notice

2.0.3 • Public • Published

Copyright Notice Component

Component to show a combination of media icon and "© 2017 Medium" text.

Installation

yarn add ta-react-copyright-notice

Usage

import CopyrightNotice from 'ta-react-copyright-notice';
 
/*
    ... other stuff
 */
 
class YourComponent extends React.Component {
  render() {
 
    return (
      <CopyrightNotice secondLevelDomainName='tagesanzeiger' fullName='Tages-Anzeiger' 
      year={2017} />
    )
  }
}
 

API – 2.0.0

Props

Property Type Required Default Description
secondLevelDomainName string no tagesanzeiger Short name of the medium. Corresponds to the second level domain name.
name string no Tages-Anzeiger Full name of the medium.
year number no Current year The year that should be displayed in the notice
inverted bool no false Whether the notice should be render inverted for dark backgrounds.

Remarks

This component is pretty stupid and doesn't try to adapt to the current domain. This job is taken over by another container component that will then poll the API and get the relevant data.

Install

npm i ta-react-copyright-notice

DownloadsWeekly Downloads

0

Version

2.0.3

License

ISC

Last publish

Collaborators

  • avatar