27 |
28 |
29 |
The most fundamental component for building a UI.
30 |
31 |
32 |
33 |
A component for displaying text.
34 |
35 |
36 |
37 |
A component for displaying images.
38 |
39 |
40 |
41 |
A component for inputting text into the app via a keyboard.
42 |
43 |
44 |
45 |
Provides a scrolling container that can host multiple components and views.
46 |
47 |
48 |
49 |
A basic button component for handling touches that should render nicely on any platform.
50 |
51 |
52 |
53 | ## User Interface
54 |
55 | Render common user interface controls on any platform using the following components. For platform specific components, keep reading.
56 |
57 |
92 |
93 |
94 |
API to display an iOS action sheet or share sheet.
95 |
96 |
97 |
98 |
API to access the "advertising identifier" on iOS.
99 |
100 |
101 |
102 |
Create an iOS alert dialog with a message or create a prompt for user input.
103 |
104 |
105 |
106 |
Renders a date/time picker (selector) on iOS.
107 |
108 |
109 |
110 |
Renders a image picker on iOS.
111 |
112 |
113 |
114 |
A wrapper around UINavigationController, enabling you to implement a navigation stack.
115 |
116 |
117 |
118 |
Renders a UIProgressView on iOS.
119 |
120 |
121 |
122 |
Handle push notifications for your app, including permission handling and icon badge number.
123 |
124 |
125 |
126 |
Renders a UISegmentedControl on iOS.
127 |
128 |
129 |
130 |
Renders a UITabViewController on iOS. Use with TabBarIOS.Item.
131 |
132 |
133 |
134 | ## Android Components and APIs
135 |
136 | Many of the following components provide wrappers for commonly used Android classes.
137 |
138 |
139 |
140 |
141 |
Detect hardware button presses for back navigation.
142 |
143 |
144 |
145 |
Opens the standard Android date picker dialog.
146 |
147 |
148 |
149 |
Renders a DrawerLayout on Android.
150 |
151 |
152 |
153 |
Provides access to the permissions model introduced in Android M.
154 |
155 |
156 |
157 |
Renders a ProgressBar on Android.
158 |
159 |
160 |
161 |
Opens the standard Android time picker dialog.
162 |
163 |
164 |
165 |
Create an Android Toast alert.
166 |
167 |
168 |
169 |
Renders a Toolbar on Android.
170 |
171 |
172 |
173 |
Container that allows to flip left and right between child views.
174 |
175 |
176 |
177 |
178 | ## Others
179 |
180 | These components may come in handy for certain applications. For an exhaustive list of components and APIs, check out the sidebar to the left.
181 |
182 |
183 |
184 |
185 |
Displays a circular loading indicator.
186 |
187 |
188 |
189 |
Launches an alert dialog with the specified title and message.
190 |
191 |
192 |
193 |
Provides access to the local camera roll / gallery.
194 |
195 |
196 |
197 |
Provides an interface for setting and getting content from the clipboard on both iOS and Android.
198 |
199 |
200 |
201 |
Provides an interface for getting device dimensions.
202 |
203 |
204 |
205 |
Provides a view that moves out of the way of the virtual keyboard automatically.
206 |
207 |
208 |
209 |
Provides a general interface to interact with both incoming and outgoing app links.
210 |
211 |
212 |
213 |
Provides a simple way to present content above an enclosing view.
214 |
215 |
216 |
217 |
Provides access to the device pixel density.
218 |
219 |
220 |
221 |
This component is used inside a ScrollView to add pull to refresh functionality.
222 |
223 |
224 |
225 |
Component to control the app status bar.
226 |
227 |
228 |
229 |
Provides an abstraction layer similar to CSS stylesheets.
230 |
231 |
232 |
233 |
A component that renders web content in a native view.
234 |
235 |
236 |
--------------------------------------------------------------------------------
/docs/Images.md:
--------------------------------------------------------------------------------
1 | ---
2 | id: images
3 | title: Images
4 | layout: docs
5 | category: Guides
6 | permalink: docs/images.html
7 | next: animations
8 | previous: navigation
9 | ---
10 |
11 | ## Static Image Resources
12 |
13 | React Native provides a unified way of managing images and other media assets in your iOS and Android apps. To add a static image to your app, place it somewhere in your source code tree and reference it like this:
14 |
15 | ```javascript
16 |