New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@aiherrera/react-logo

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aiherrera/react-logo

A simple & easy to use logo

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

Logo Component for React

A simple & easy to use react Logo.

Installation

Requires React 16 or later

npm i --save @aiherrera/react-logo

# or

yarn add @aiherrera/react-logo

Demo

You can check all the configurations in Ai-CoderLab

Usage

{ Logo }

// ES5 syntax
const Logo = require('@aiherrera/react-logo')

// ES6 syntax
import Logo from '@aiherrera/react-logo'

Full example

import React from 'react'

import Logo from '@aiherrera/react-logo'
import logoSVG from './logoSVG.svg'

const App = () => {

  const width = 80
  const height = 80

  return <Logo logoSVG={logoSVG} width={width} height={height}/>

}

Props

All these props are passed as defaults and can be overriden any time.

NameTypeUnitDescriptionDefault
logoSVGstringN/ALogo image dir
widthnumberN/AWidth of the logo64
heightnumberN/AHeight of the logo64

Keywords

react

FAQs

Package last updated on 04 Apr 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts