@expo/html-elements
Advanced tools
Comparing version 0.4.0 to 0.4.1
@@ -50,4 +50,4 @@ import { ClassAttributes, ComponentProps, ComponentType } from 'react'; | ||
export type TextProps = Omit<NativeTextProps, 'style' | 'accessibilityRole'> & WebTextProps; | ||
declare const Text: ComponentType<TextProps>; | ||
export default Text; | ||
declare const _default: ComponentType<TextProps>; | ||
export default _default; | ||
//# sourceMappingURL=Text.d.ts.map |
import { Text as NativeText, } from 'react-native'; | ||
import { createSafeStyledView } from '../css/createSafeStyledView'; | ||
const Text = NativeText; | ||
export default Text; | ||
export default createSafeStyledView(Text); | ||
//# sourceMappingURL=Text.js.map |
import { ClassAttributes, ComponentProps, ComponentType } from 'react'; | ||
import { StyleProp, View as NativeView, AccessibilityRole, ViewStyle as NativeViewStyle } from 'react-native'; | ||
import { AccessibilityRole, StyleProp, View as NativeView, ViewStyle as NativeViewStyle } from 'react-native'; | ||
type NativeViewProps = ComponentProps<typeof NativeView> & ClassAttributes<typeof NativeView>; | ||
@@ -112,2 +112,4 @@ /** | ||
willChange?: string; | ||
/** @platform web */ | ||
position?: 'static' | 'relative' | 'absolute' | 'fixed' | 'sticky'; | ||
} | ||
@@ -120,4 +122,4 @@ export type ViewStyle = Omit<NativeViewStyle, 'position'> & WebViewStyle; | ||
export type ViewProps = WebViewProps & Omit<NativeViewProps, 'style' | 'accessibilityRole'>; | ||
declare const View: ComponentType<ViewProps>; | ||
export default View; | ||
declare const _default: ComponentType<ViewProps>; | ||
export default _default; | ||
//# sourceMappingURL=View.d.ts.map |
import { View as NativeView, } from 'react-native'; | ||
const View = NativeView; | ||
export default View; | ||
import { createSafeStyledView } from '../css/createSafeStyledView'; | ||
import { createDevView } from './createDevView'; | ||
let View = NativeView; | ||
if (process.env.NODE_ENV !== 'production') { | ||
// Add better errors and warnings in development builds. | ||
View = createDevView(NativeView); | ||
} | ||
export default createSafeStyledView(View); | ||
//# sourceMappingURL=View.js.map |
{ | ||
"name": "@expo/html-elements", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"description": "Universal semantic HTML React components for iOS, Android, web, and desktop", | ||
@@ -62,3 +62,3 @@ "main": "build/Elements.js", | ||
}, | ||
"gitHead": "1815e2eaad8c753588c7b1eb74420174a28e01f4" | ||
"gitHead": "1f8a6a09570fd451378565ca34933018ce48454e" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
157511
98
1238
2