1.0.7 • Published 3 years ago

react-zangief v1.0.7

Weekly downloads
1
License
-
Repository
github
Last release
3 years ago

React Zangief

license NPM npm downloads

Animated Zangief component for React.

Storybook

https://ossan-engineer.github.io/react-zangief

Installation

yarn add react-zangief

Usage

import React from 'react';
import ReactDOM from 'react-dom';
import Zangief from 'react-zangief';

const App = () => {
  return <Zangief action="stand" size={16} flip />;
}

ReactDOM.render(<App />, document.querySelector('#app'));

Props

NameTypeDefaultDescription
action'default' | 'stand' | 'walk' | 'jump' | 'attack' | 'damaged''default'Animation type.
sizenumber32The size of Zangief.
flipbooleanfalseFlip Zangief direction.