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

feat(PricingSlot): custom accessors #11

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Coriou
Copy link
Contributor

@Coriou Coriou commented May 15, 2019

PricingSlot has two new props: titleAccessor & priceAccessor, allowing to pass custom price & title components respectively

Not ready to be merged, but is working. Check the example:

$ npm start
# localhost:8080

To do:

  • Write / update tests
  • Document readme
  • Provide an example

PricingSlot has two new props: titleAccessor & priceAccessor, allowing to pass custom price & title components respectively
@Coriou
Copy link
Contributor Author

Coriou commented May 15, 2019

Spamming with PRs here. For a quick check of everything in #11, #10 & #9, you can have a look at coriou/react-pricing-table#develop

@gergely-nagy
Copy link
Owner

@Coriou thanks a ton for this pr and all the updates.

I will get to reviewing them today.

@Coriou
Copy link
Contributor Author

Coriou commented May 20, 2019

Hey, have you had some time to take a look yet ? Thanks

@Coriou
Copy link
Contributor Author

Coriou commented May 20, 2019

That was fast :)

I'll make myself available in Gitter if you need to discuss this or help with merging all the PRs

Coriou added 3 commits May 20, 2019 09:46
Basic Jest test for custom accessors features: "should render without crashing"
Update readme to match new props for PricingSlot
Oops, it's an HTML table - need to use <code /> instead of backticks
@gergely-nagy
Copy link
Owner

Thanks for your work! Trying to merge this PR ASAP 😄

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.

2 participants