Code Monkey home page Code Monkey logo

react-flippy's Introduction

Hi there 👋

react-flippy's People

Contributors

chaoticpotato avatar dependabot[bot] avatar sbayd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-flippy's Issues

expose className attribute on Flippy

Hello! thanks for your work!
We use Flippy with material ui so we use classNames instead of styles.
Unfortunately className is not supported on Flippy but supported on FrontSide and BackSide which is strange
please add support of className attribute to Flippy

A vue version?

I would love if you or someone else could fork a version for vue. That would be amazing!

Update to use React 18

Currently this requires react 17 which is out of date. Is there a plan to update this to be compatible with react 18?

NPM package issue

require("./styles.css"); in Flippy.js sholdn't be there, in the dist folder, from the npm package.
The above problem causes an issue in my app :(

In all the npm packages that I've used untill now you import the style in you project by hand.
Something like this:
import Flippy, { FrontSide, BackSide } from 'react-flippy';
import 'react-flippy/dist/styles.css';

Transpile?

In the dist folder of the npm package should be the code transpiled in ES5 :(

`isFlipped` as a prop

Hi,

I believe a isFlipped prop would be useful to control the component from outside in a declarative way (instead of the imperative .toggle()). For instance on a memory game where the state of all cards (if they're visible/invisible, flipped/unflipped) is on MobX/Redux.

PS: found your project on "Show HN".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.