0.1.0 • Published 6 years ago
@simpozio/logo v0.1.0
Simpozio Logo Component
Installation
npm i @simpozio/logoUsage
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?: stringonFocus?: functiononHover?: functiononClick?: function
Additional props:
primaryColor?: string;secondaryColor?: string;thirdlyColor?: string;type?: 'pic' | 'text' | 'full'- show all logo or pic/text only
Development
0.1.0
6 years ago