Created
July 3, 2017 13:59
-
-
Save marcusradell/d7a20ce9cedbed3065bd42999b32de25 to your computer and use it in GitHub Desktop.
Twitter question
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// I think it might lose its appeal, but if you need to transform for some technical reason, it might work. | |
// toKebab needs to be implemented elsewhere. | |
const kebabProps = toKebab({ | |
someProp: 'foo', | |
someOtherProp: 'bar' | |
}) | |
const View = () => return <MyComponent {...kebabProps} anotherOtherProp={'qux'} /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment