Replies: 1 comment 2 replies
-
I'm sorry but I didn't understand the question, could you explain better? If I understood the question correctly, what you say can be done thanks to const onChange = e => {
const { name, value } = e.target;
const [currentValue, setValue] = getStore[name]()
setValue(value);
};
More info: https://github.com/teafuljs/teaful#getstore-helper |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Beta Was this translation helpful? Give feedback.
All reactions