@simpozio/logo
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

Simpozio Logo Component

Installation

npm i @simpozio/logo

Usage

Basic

import {LogoHorizontal} from '@simpozio/logo';

const Component = () => {
  return (
    <LogoHorizontal
        primaryColor={'#642B82'}
        secondaryColor={'#fff'}
        thirdlyColor={'#000'}
        type={select('full'}
        onHover={(event) => {}}
        onClick={(event) => {}}
      />
  )
}

Props

Button accepts standard HTML-attributes:

  • className?: string
  • onFocus?: function
  • onHover?: function
  • onClick?: function

Additional props:

  • primaryColor?: string;
  • secondaryColor?: string;
  • thirdlyColor?: string;
  • type?: 'pic' | 'text' | 'full' - show all logo or pic/text only

Development

Look simpozio-frontend-common library

Readme

Keywords

Package Sidebar

Install

npm i @simpozio/logo

Weekly Downloads

1

Version

0.1.0

License

ISC

Unpacked Size

82.2 kB

Total Files

16

Last publish

Collaborators

  • karataev
  • lopachenok
  • davletbaev
  • basvasilich