sbayd / react-flippy Goto Github PK
View Code? Open in Web Editor NEWFlipping Cards for your React Projects. React-Flippy allows you to create flipper event with your content.
Home Page: https://react-flippy.vercel.app
License: MIT License
Flipping Cards for your React Projects. React-Flippy allows you to create flipper event with your content.
Home Page: https://react-flippy.vercel.app
License: MIT License
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
Hi,
Thanks for the very easy to use library.
I made a code sandbox that reproduces the error.
Here's the code: https://codesandbox.io/s/wispy-sun-vzz0d
And you can view it on your phone using this link: https://vzz0d.codesandbox.io/
I would love if you or someone else could fork a version for vue. That would be amazing!
Currently this requires react 17 which is out of date. Is there a plan to update this to be compatible with react 18?
This package is so awesome and easy to use.
But please fix 'mobile' bugs
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';
In the dist folder of the npm package should be the code transpiled in ES5 :(
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".
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.