@ta-interaktiv/react-copyright-notice
v5.1.1
Published
Component to show a combination of media icon and "© 2017 Medium" text.
Downloads
34
Readme
Copyright Notice Component
Component to show a combination of media icon and "© 2017 Medium" text.
Installation
yarn add @ta-interaktiv/react-copyright-notice
Usage
Polymorphic version – adapts to the current domain:
import React from 'react'
import CopyrightNotice from '@ta-interaktiv/react-copyright-notice'
function Example(props) {
return <CopyrightNotice />
}
Pure version:
import React from 'react'
import { PureCopyrightNotice } from '@ta-interaktiv/react-copyright-notice'
function YourComponent(props) {
return (
<PureCopyrightNotice
mediaName='tagesanzeiger'
fullMediaName='Tages-Anzeiger'
year={2017}
/>
)
}