Skip to content

ossan-engineer/react-zangief

Repository files navigation

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

Name Type Default Description
action 'default' | 'stand' | 'walk' | 'jump' | 'attack' | 'damaged' 'default' Animation type.
size number 32 The size of Zangief.
flip boolean false Flip Zangief direction.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •