GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - lh-hoon/react-ionicons: A React Ionicon component https://zamarrowski.github.io/react-ionicons/

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

98 Commits
98 Commits

Folders and files

NameName
Last commit message
Last commit date
docs
docs
 
 
lib
lib
 
 
src
src
 
 
.DS_Store
.DS_Store
 
 
.babelrc
.babelrc
 
 
.gitignore
.gitignore
 
 
README.MD
README.MD
 
 
copyFiles.js
copyFiles.js
 
 
ionicons-logo.png
ionicons-logo.png
 
 
package.json
package.json
 
 
webpack.config.js
webpack.config.js
 
 

Repository files navigation

A React Ionicon Component

View page: https://zamarrowski.github.io/react-ionicons/

Install

$ npm install --save react-ionicons

Usage

import React from 'react'
import { render } from 'react-dom'
import LogoNodejs from 'react-ionicons/lib/LogoNodejs'

render(
  <LogoNodejs onClick={() => alert('Hi!')} fontSize="60px" color="#43853d" />
, document.getElementById('container'))

Browserify

browserify is supported, but you have to install browserify-css@^0.12.0 manually.

Features

  • No dependencies, just React.
  • SVG Icons.
  • Simple API.
  • Animations.
  • Customizable.
  • Support to Create React App.

API:

Param Type Description Example
className String Name of a CSS class className="myClass"
fontSize String Icon size. Allow all units (px, em, %, pt...). fontSize="35px"
color String Icon color. Allow string (blue, red, cyan...), rgb, rgba and hexadecimal colors. color="#C9C9C9"
rotate Boolean Apply rotate animation to icon rotate={true}
shake Boolean Apply shake animation to icon shake={true}
beat Boolean Apply beat animation to icon beat={true}
onClick Function Pass a function to execute onClick onClick={() => console.log('Hi!')}

About

A React Ionicon component https://zamarrowski.github.io/react-ionicons/

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.