@comparaonline/ui-hero-header
    TypeScript icon, indicating that this package has built-in type declarations

    0.27.1 • Public • Published

    @comparaonline/ui-hero-header

    React component to render the Hero Header.

    Installation

    yarn add @comparaonline/ui-hero-header
    

    Usage

    The HeroHeader requires a title prop (string), and aditionally you can add a subtitle and a backgroundImage prop.

    import HeroHeader from '@comparaonline/ui-hero-header';
    return (
      <HeroHeader
        title={'Title'}
        subtitle={'Title'}
        backgroundImage={'http://google.cl/niceImage.jpg'}
      />
    );
    key required type description
    title true string The string to be displayed as the title
    subtitle true string The string to be displayed as the subtitle
    backgroundImage false function The href value, it should be absolute

    Keywords

    none

    Install

    npm i @comparaonline/ui-hero-header

    DownloadsWeekly Downloads

    100

    Version

    0.27.1

    License

    MIT

    Unpacked Size

    23.2 kB

    Total Files

    19

    Last publish

    Collaborators

    • fverag
    • gnza
    • suarezcumare
    • comparaonline-dev
    • comparaonlineprivate
    • matotias
    • javierlara1989
    • smurua
    • cnovoab
    • eseceve
    • mchauca
    • pablocompara