@expo/html-elements 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -105,13 +105,13 @@ Other features not implemented in this package can be found in different parts o
|
|
|
105
105
|
| ------------------------------- | :------------------: | :--------------------------------------------------------------------------------------------------------------------: |
|
|
106
106
|
| `<audio />` | `Audio` | [`expo-av`][ex-audio] |
|
|
107
107
|
| `<button />` | `<Button />` | `react-native` |
|
|
108
|
-
| `<input type="text" />` |
|
|
108
|
+
| `<input type="text" />` | `<TextInput />` | `react-native` |
|
|
109
109
|
| `<input type="file" />` | `ImagePicker` | [`expo-image-picker`][ex-ipick] |
|
|
110
110
|
| `<input type="file" />` | `DocumentPicker` | [`expo-document-picker`][ex-dpick] |
|
|
111
111
|
| `<canvas />` | `<GLView />` | [`expo-gl`][ex-gl] & [Expo Canvas][ex-canvas] |
|
|
112
112
|
| `<iframe />` | `<WebView />` | [`<WebView />`][ex-webview]. `@react-native-community/web-view` is not maintained by Expo and doesn't have web support |
|
|
113
|
-
| [`<link />`][html-link] | None |
|
|
114
|
-
| [`<noscript />`][html-noscript] | None |
|
|
113
|
+
| [`<link />`][html-link] | None | Eject the `index.html` with `npx expo customize` and link resources directly with `<link />` |
|
|
114
|
+
| [`<noscript />`][html-noscript] | None | Eject the `index.html` with `npx expo customize` and use `<noscript />` directly as HTML |
|
|
115
115
|
| `<div />` | `<View />` | `react-native` |
|
|
116
116
|
| `<img />` | `<Image />` | `react-native` |
|
|
117
117
|
| `<span />` | `<Text />` | `react-native` |
|
|
@@ -393,8 +393,8 @@ export default () => (
|
|
|
393
393
|
|
|
394
394
|
Standard paragraph element.
|
|
395
395
|
|
|
396
|
-
| Platform | Output
|
|
397
|
-
| --------- |
|
|
396
|
+
| Platform | Output |
|
|
397
|
+
| --------- | ---------------------------------------------------------- |
|
|
398
398
|
| Universal | `<Text style={{ fontSize: 14, marginVertical: '1em' }} />` |
|
|
399
399
|
|
|
400
400
|
### `<B/>`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/html-elements",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1",
|
|
4
4
|
"description": "Universal semantic HTML React components for iOS, Android, web, and desktop",
|
|
5
5
|
"main": "build/Elements.js",
|
|
6
6
|
"types": "build/Elements.d.ts",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"preset": "expo-module-scripts/enzyme"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"expo-module-scripts": "^
|
|
39
|
+
"expo-module-scripts": "^3.0.0"
|
|
40
40
|
},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "957cf0793ac316152e694cbe352953e07bffcb45"
|
|
42
42
|
}
|