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

    6.0.12 • 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>

    Install

    npm i @ta-interaktiv/react-masthead

    DownloadsWeekly Downloads

    60

    Version

    6.0.12

    License

    ISC

    Unpacked Size

    99.1 kB

    Total Files

    20

    Last publish

    Collaborators

    • dariush-mehdiaraghi
    • mrdz_tx
    • mathiaslutz
    • bartfehr
    • sebaa
    • grmnd