This package has been deprecated

Author message:

This package has been renamed to @ta-interaktiv/react-polymorphic-masthead. Please update your dependencies. Thank you!

ta-react-polymorphic-masthead

1.0.3 • Public • Published

Polymorphic Masthead

Display the masthead in standalone projects. Adapts to the mandate.

Installation

yarn add ta-react-polymorphic-masthead

Usage

import Masthead from 'ta-react-polymorphic-masthead';

// more code ...

class YourComponent extends React.Component {
  render() {

    return (
      <Masthead articleID='346234' hashtags={['TAGrafik', 'DDJ']} />
    )
  }
}

API – 1.0

Props

Property Type Required Default Description
articleID string yes The article ID of the link article.
inverted bool no false Used when icon list is displayed on dark backgrounds.
hashtags [string] no Array of strings to be used as hashtags when sharing.

Package Sidebar

Install

npm i ta-react-polymorphic-masthead

Weekly Downloads

0

Version

1.0.3

License

ISC

Last publish

Collaborators

  • xeophin