RRN
Reason React Native
Docs
Blog
GitHub
Discord

Packager

Official documentation
EDIT

Packager.require

Packager.require is the exact same require() you know in React Native. It returns a type Packager.required.

let asset = Packager.require("./some/asset.jpg");

You can use this for component like Image.

Getting Started
Introduction
Installation
Usage
Example
Cheatsheet
Migration from bs-react-native
Components
ActivityIndicator
Button
DrawerLayoutAndroid
FlatList
Image
ImageBackground
InputAccessoryView
KeyboardAvoidingView
MaskedViewIOS
Modal
Pressable
RefreshControl
SafeAreaView
ScrollView
SectionList
StatusBar
Switch
Text
TextInput
TouchableHighlight
TouchableNativeFeedback
TouchableOpacity
TouchableWithoutFeedback
View
VirtualizedList
APIs
AccessibilityInfo
ActionSheetIOS
Alert
Animated
AnimationFrame *
AppRegistry
AppState
BackHandler
Dimensions
Easing
Event *
Global *
InteractionManager
Keyboard
LayoutAnimation
Linking
Packager *
PanResponder
PermissionsAndroid
PixelRatio
Platform
PlatformColor
Settings
Share
Style *
StyleSheet
Systrace
ToastAndroid
Transforms
Vibration
* Specific modules for bindings