rc-icon-anim
icon-anim ui component for react
Last updated 10 years ago by jljsj33 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install rc-icon-anim 
SYNC missed versions from official npm registry.

rc-icon-anim


React IconAnim Component

NPM version build status Test coverage gemnasium deps node version npm download

Browser Support

IE Chrome Firefox Opera Safari
IE 9+ ✔ Chrome 31.0+ ✔ Firefox 31.0+ ✔ Opera 30.0+ ✔ Safari 7.0+ ✔

Development

npm install
npm start

Example

http://localhost:8030/examples/

online example: http://react-component.github.io/icon-anim/

install

rc-icon-anim

Usage

IconFontAnim

import IconAnim from 'rc-icon-anim';
const IconFontAnim = IconAnim.IconFontAnim;
React.render(<IconFontAnim type="left" />, container);

IconSVGAim

import IconAnim from 'rc-icon-anim';
const IconSVGAnim = IconAnim.IconSVGAnim;
React.render(<IconSVGAnim type="left" />, container);

API

IconFontAnim

name type default description
type string null antd of icon name
appear bool true appear anim
animType string / object leftToRight animate type, provide : alpha leftToRight rightToLeft scale scaleBack scaleBig rotate rotateX rotateY left3dFlip right3dFlip top3dFlip bottom3dFlip rubberBand;
if the is object: { appear, enter, leave }, appear is null, with enter,refer;
component string / React.Element div component tag

IconSVGAnim

name type default description
type string null provide: svg
children React.Element null children can not coexist with the type, Normative References svg
appear bool true appear anim
animation array null animType default provide: animTypeSVG, is null we will use scale
viewBox string '0 0 1024 1024' svg viewBox

Current Tags

  • 0.0.3                                ...           latest (10 years ago)

3 Versions

  • 0.0.3                                ...           10 years ago
  • 0.0.2                                ...           10 years ago
  • 0.0.1                                ...           10 years ago
Maintainers (1)
Downloads
Total 10
Today 0
This Week 0
This Month 6
Last Day 0
Last Week 5
Last Month 0
Dependencies (2)
Dev Dependencies (6)
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE