Last active
June 2, 2018 12:11
-
-
Save yusinto/a31074588c26c2ce747505bcbd49400b to your computer and use it in GitHub Desktop.
withFlagProvider example
This file contains hidden or 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
import {withFlagProvider} from 'ld-react'; | |
import Home from './home'; | |
const App = () => | |
<div> | |
<Home /> | |
</div>; | |
export default withFlagProvider(App, {clientSideId: 'your-client-side-id'}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment