Last active
April 5, 2021 13:27
-
-
Save shreyakupadhyay/451b216ed3225ab2d30ffc9a277f8fff to your computer and use it in GitHub Desktop.
Medium blog 0.64 version
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
// before inline default | |
import { BeforeFunction } from 'before-module'; | |
const BeforeComponent = (props) => { | |
const view = BeforeFunction(); | |
return <View>{view}</View>; | |
}; | |
// after inline default | |
const AfterComponent = (props) => { | |
const view = require('after-module').AfterFunction(); | |
return <View>{view}</View>; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment