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

Enable custom FormulaParser via props #61

Merged
merged 4 commits into from
Mar 23, 2020
Merged

Conversation

calebmpeterson
Copy link
Contributor

I'm doing some prototyping with react-spreadsheet (fantastic component BTW, thank you for creating it!). I'd like to be able to define custom formulas. This is possible with hot-formula-parser but access to the formulaParser instance is needed.

Passing a prop to customize the instance used by a Spreadsheet component seemed like the best solution.

Copy link
Owner

@iddan iddan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing work! One small thing.

src/Spreadsheet.js Outdated Show resolved Hide resolved
@iddan iddan merged commit 533bc1f into iddan:master Mar 23, 2020
@iddan
Copy link
Owner

iddan commented Mar 23, 2020

Great job. will release a version with your code.

@iddan
Copy link
Owner

iddan commented Mar 23, 2020

Shipped in react-spreadsheet@0.4.45

@calebmpeterson
Copy link
Contributor Author

Thank you so much for the amazingly fast turn around here @iddan!

All the best :)

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