File tree Expand file tree Collapse file tree 3 files changed +37
-0
lines changed Expand file tree Collapse file tree 3 files changed +37
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " core" ,
3
+ "version" : " 0.0.0" ,
4
+ "private" : true ,
5
+ "description" : " Wrapper native components for preact" ,
6
+ "license" : " MIT" ,
7
+ "exports" : {
8
+ "." : {
9
+ "browser" : " ./dist/core.module.js" ,
10
+ "umd" : " ./dist/core.umd.js" ,
11
+ "import" : " ./dist/core.mjs" ,
12
+ "require" : " ./dist/core.js"
13
+ }
14
+ },
15
+ "main" : " dist/core.js" ,
16
+ "module" : " dist/core.module.js" ,
17
+ "source" : " src/index.js" ,
18
+ "peerDependencies" : {
19
+ "preact" : " >=10" ,
20
+ "@barelyhuman/preact-native" : " *"
21
+ }
22
+ }
Original file line number Diff line number Diff line change
1
+ import { h } from 'preact'
2
+
3
+ export function SafeAreaView ( { ...props } ) {
4
+ return h ( 'SafeAreaView' , props )
5
+ }
6
+
7
+ export function View ( { ...props } ) {
8
+ return h ( 'View' , props )
9
+ }
10
+
11
+ export function Text ( { ...props } ) {
12
+ return h ( 'Text' , props )
13
+ }
Original file line number Diff line number Diff line change
1
+ export * from './components'
2
+ export * from '@barelyhuman/preact-native/dom'
You can’t perform that action at this time.
0 commit comments