@ta-interaktiv/react-masthead
TypeScript icon, indicating that this package has built-in type declarations

6.1.0 • Public • Published

Masthead Component

Display the masthead in standalone projects.

npm version

Installation

yarn add @ta-interaktiv/react-masthead

Usage

Pure Masthead

import React from 'react'
import { PureMasthead as Masthead } from '@ta-interaktiv/react-masthead'

// ...

class YourComponent extends React.Component {
  render() {
    return (
      <Masthead
        mediaName='tagesanzeiger'
        homepage='//www.tagesanzeiger.ch'
        fullMediaName='Tages-Anzeiger'
        hashtags={['TAGrafik', 'DDJ']}
      />
    )
  }
}

You may add additional content to the middle column:

<Masthead>
  <div className='ui small infographic orange header'>WebSpezial</div>
</Masthead>

Package Sidebar

Install

npm i @ta-interaktiv/react-masthead

Weekly Downloads

437

Version

6.1.0

License

ISC

Unpacked Size

103 kB

Total Files

20

Last publish

Collaborators

  • s1co
  • dariush-mehdiaraghi
  • mrdz_tx
  • mathiaslutz
  • sebaa