Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.1.0] Add deck style for ReactSwing #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

quead
Copy link

@quead quead commented Feb 14, 2021

Hello,

I've really liked this package and I've started to use for a personal project unfortunately I wanted a different view for the cards so I've created this PR with a different view for cards.

I've created an example page exactly as you've done for the default, the new style it looks like this.

image

The differences are not huge, I've added to accept a new prop stackStyle which defaults to default if is not passed, I've added a switch in render which accepts an enum ReactSwingStackStyle.

In the example I've used style-loader & css-loader as I found easier for me to change it while I was developing.

I've updated Readme as well.

That's pretty much what I've done.

@quead quead force-pushed the master branch 3 times, most recently from 76867cc to 9bbf74b Compare February 14, 2021 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant