Home
last modified time | relevance | path

Searched refs:props (Results 1 – 25 of 1350) sorted by relevance

12345678910>>...54

/expo/packages/expo-maps/build/
H A DUtils.js12 const props = Object.keys(child.props);
21 const props = Object.keys(child.props);
30 const props = Object.keys(child.props);
31 if (props.includes('bounds') && props.includes('icon')) {
39 const props = Object.keys(child.props);
40 if (props.includes('center') && props.includes('radius')) {
48 const props = Object.keys(child.props);
57 const props = Object.keys(child.props);
66 const props = Object.keys(child.props);
75 const props = Object.keys(child.props);
[all …]
/expo/packages/expo-maps/src/
H A DUtils.ts27 const props = Object.keys(child.props); constant
37 const props = Object.keys(child.props); constant
47 const props = Object.keys(child.props); constant
48 if (props.includes('bounds') && props.includes('icon')) {
57 const props = Object.keys(child.props); constant
58 if (props.includes('center') && props.includes('radius')) {
67 const props = Object.keys(child.props); constant
77 const props = Object.keys(child.props); constant
87 const props = Object.keys(child.props); constant
97 const props = Object.keys(child.props); constant
[all …]
/expo/packages/@expo/cli/src/run/android/
H A DrunAndroidAsync.ts31 variant: props.variant,
32 port: props.port,
33 appName: props.appName,
34 buildCache: props.buildCache,
38 if (props.shouldStartBundler && !(await ensurePortAvailabilityAsync(projectRoot, props))) {
39 props.shouldStartBundler = false;
43 port: props.port,
56 { device: props.device.device }
59 if (props.shouldStartBundler) {
66 const apkFile = await resolveInstallApkNameAsync(props.device.device, props);
[all …]
/expo/packages/html-elements/build/elements/
H A D_Text.web.js4 export const P = forwardRef(({ style, ...props }, ref) => {
7 export const B = forwardRef(({ style, ...props }, ref) => {
10 export const S = forwardRef(({ style, ...props }, ref) => {
13 export const Del = forwardRef(({ style, ...props }, ref) => {
19 export const I = forwardRef(({ style, ...props }, ref) => {
22 export const Q = forwardRef(({ style, ...props }, ref) => {
28 export const EM = forwardRef(({ style, ...props }, ref) => {
31 export const BR = forwardRef((props, ref) => {
32 return createElement('br', { ...props, ref });
40 export const Code = forwardRef((props, ref) => {
[all …]
H A DTable.js7 export const Table = forwardRef((props, ref) => {
10 export const THead = forwardRef((props, ref) => {
13 export const TBody = forwardRef((props, ref) => {
16 export const TFoot = forwardRef((props, ref) => {
19 export const TH = forwardRef((props, ref) => {
20 return React.createElement(TableText, { ...props, style: [styles.th, props.style], ref: ref });
22 export const TR = forwardRef((props, ref) => {
23 return React.createElement(View, { ...props, style: [styles.tr, props.style], ref: ref });
25 export const TD = forwardRef((props, ref) => {
26 return React.createElement(TableText, { ...props, style: [styles.td, props.style], ref: ref });
[all …]
H A DText.js6 export const P = forwardRef(({ style, ...props }, ref) => {
9 export const B = forwardRef(({ style, ...props }, ref) => {
12 export const S = forwardRef(({ style, ...props }, ref) => {
15 export const I = forwardRef(({ style, ...props }, ref) => {
27 export const BR = forwardRef(({ style, ...props }, ref) => {
36 function isTextProps(props) { argument
37 return typeof props.children === 'string';
39 export const Pre = forwardRef((props, ref) => {
40 if (isTextProps(props)) {
41 …return React.createElement(Text, { ...props, style: [styles.code, styles.pre, props.style], ref: r…
[all …]
H A DLists.js6 return forwardRef((props, ref) => {
7 return React.createElement(View, { ...nativeProps, ...props, ref: ref });
15 function isTextProps(props) { argument
17 return typeof props.children === 'string';
19 export const LI = forwardRef((props, ref) => {
20 if (isTextProps(props)) {
23 default: props.accessibilityRole,
25 … return React.createElement(Text, { ...props, accessibilityRole: accessibilityRole, ref: ref });
29 default: props.accessibilityRole,
31 return React.createElement(View, { ...props, accessibilityRole: accessibilityRole, ref: ref });
/expo/packages/@expo/config-plugins/src/plugins/__tests__/
H A DwithMod-test.ts12 props.name = (props.name as string).toUpperCase();
13 return props;
49 action(props) {
51 props.name = (props.name as string).toUpperCase();
52 return props;
62 action(props) {
64 props.name = (props.name as string).toUpperCase();
65 return props;
80 action(props) {
82 props.name = (props.name as string).toUpperCase();
[all …]
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/components/textinput/androidtextinput/react/renderer/components/androidtextinput/
H A DABI47_0_0AndroidTextInputProps.cpp285 props["autoFocus"] = autoFocus; in getDynamic()
288 props["editable"] = editable; in getDynamic()
291 props["maxLength"] = maxLength; in getDynamic()
292 props["multiline"] = multiline; in getDynamic()
298 props["value"] = value; in getDynamic()
307 props["fontStyle"] = fontStyle; in getDynamic()
309 props["lineHeight"] = lineHeight; in getDynamic()
313 props["fontSize"] = fontSize; in getDynamic()
314 props["textAlign"] = textAlign; in getDynamic()
321 props["text"] = text; in getDynamic()
[all …]
/expo/ios/versioned-react-native/ABI49_0_0/ReactNative/ReactCommon/react/renderer/mounting/tests/
H A DABI49_0_0StackingContextTest.cpp264 props.zIndex = 42; in TEST_F()
354 nodeAA_, [](ViewProps &props) { props.backgroundColor = blackColor(); }); in TEST_F() argument
360 nodeBBA_, [](ViewProps &props) { props.shadowColor = blackColor(); }); in TEST_F() argument
438 nodeA_, [](ViewProps &props) { props.backgroundColor = blackColor(); }); in TEST_F() argument
445 nodeB_, [](ViewProps &props) { props.testId = "42"; }); in TEST_F() argument
448 nodeBA_, [](ViewProps &props) { props.nativeId = "42"; }); in TEST_F() argument
460 props.zIndex = 42; in TEST_F()
464 nodeBC_, [](ViewProps &props) { props.shadowColor = blackColor(); }); in TEST_F() argument
467 nodeBD_, [](ViewProps &props) { props.opacity = 0.42; }); in TEST_F() argument
656 props.zIndex = 42; in TEST_F()
[all …]
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/mounting/tests/
H A DABI48_0_0StackingContextTest.cpp264 props.zIndex = 42; in TEST_F()
354 nodeAA_, [](ViewProps &props) { props.backgroundColor = blackColor(); }); in TEST_F() argument
360 nodeBBA_, [](ViewProps &props) { props.shadowColor = blackColor(); }); in TEST_F() argument
438 nodeA_, [](ViewProps &props) { props.backgroundColor = blackColor(); }); in TEST_F() argument
445 nodeB_, [](ViewProps &props) { props.testId = "42"; }); in TEST_F() argument
448 nodeBA_, [](ViewProps &props) { props.nativeId = "42"; }); in TEST_F() argument
460 props.zIndex = 42; in TEST_F()
464 nodeBC_, [](ViewProps &props) { props.shadowColor = blackColor(); }); in TEST_F() argument
467 nodeBD_, [](ViewProps &props) { props.opacity = 0.42; }); in TEST_F() argument
656 props.zIndex = 42; in TEST_F()
[all …]
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/mounting/tests/
H A DABI47_0_0StackingContextTest.cpp265 props.zIndex = 42; in TEST_F()
355 nodeAA_, [](ViewProps &props) { props.backgroundColor = blackColor(); }); in TEST_F() argument
361 nodeBBA_, [](ViewProps &props) { props.shadowColor = blackColor(); }); in TEST_F() argument
439 nodeA_, [](ViewProps &props) { props.backgroundColor = blackColor(); }); in TEST_F() argument
446 nodeB_, [](ViewProps &props) { props.testId = "42"; }); in TEST_F() argument
449 nodeBA_, [](ViewProps &props) { props.nativeId = "42"; }); in TEST_F() argument
461 props.zIndex = 42; in TEST_F()
465 nodeBC_, [](ViewProps &props) { props.shadowColor = blackColor(); }); in TEST_F() argument
468 nodeBD_, [](ViewProps &props) { props.opacity = 0.42; }); in TEST_F() argument
657 props.zIndex = 42; in TEST_F()
[all …]
/expo/packages/@expo/metro-runtime/src/location/
H A Dinstall.native.ts53 const _fetch = (...props: any[]) => {
54 if (props[0] && typeof props[0] === 'string' && props[0].startsWith('/')) {
56 warnProductionOriginNotConfigured(props[0]);
59 props[0] = new URL(props[0], window.location?.origin).toString();
60 } else if (props[0] && typeof props[0] === 'object') {
61 if (props[0].url && typeof props[0].url === 'string' && props[0].url.startsWith('/')) {
63 warnProductionOriginNotConfigured(props[0]);
66 props[0].url = new URL(props[0].url, window.location?.origin).toString();
69 return fetch(...props);
/expo/apps/native-component-list/src/screens/Image/tests/
H A Dsources.ts9 props: {
15 props: {
21 props: {
27 props: {
33 props: {
39 props: {
45 props: {
52 props: {
58 props: {
64 props: {
[all …]
H A Dappearance.tsx9 props: {},
13 props: {
19 props: {
25 props: {
31 props: {
37 props: {
43 props: {
49 props: {
74 props: {
83 props: {
[all …]
/expo/packages/@expo/metro-runtime/build/location/
H A Dinstall.native.js45 const _fetch = (...props) => { argument
46 if (props[0] && typeof props[0] === 'string' && props[0].startsWith('/')) {
48 warnProductionOriginNotConfigured(props[0]);
50 props[0] = new url_parse_1.default(props[0], window.location?.origin).toString();
52 else if (props[0] && typeof props[0] === 'object') {
53 if (props[0].url && typeof props[0].url === 'string' && props[0].url.startsWith('/')) {
55 warnProductionOriginNotConfigured(props[0]);
57props[0].url = new url_parse_1.default(props[0].url, window.location?.origin).toString();
60 return fetch(...props);
/expo/packages/html-elements/src/elements/
H A DTable.tsx9 export const Table = forwardRef((props: ViewProps, ref) => {
10 return <View {...props} ref={ref} />;
13 export const THead = forwardRef((props: ViewProps, ref) => {
14 return <View {...props} ref={ref} />;
18 return <View {...props} ref={ref} />;
22 return <View {...props} ref={ref} />;
26 return <TableText {...props} style={[styles.th, props.style]} ref={ref} />;
29 export const TR = forwardRef((props: ViewProps, ref) => {
30 return <View {...props} style={[styles.tr, props.style]} ref={ref} />;
34 return <TableText {...props} style={[styles.td, props.style]} ref={ref} />;
[all …]
H A D_Text.web.tsx8 export const P = forwardRef(({ style, ...props }: TextProps, ref) => {
12 export const B = forwardRef(({ style, ...props }: TextProps, ref) => {
16 export const S = forwardRef(({ style, ...props }: TextProps, ref) => {
20 export const Del = forwardRef(({ style, ...props }: TextProps, ref) => {
28 export const I = forwardRef(({ style, ...props }: TextProps, ref) => {
32 export const Q = forwardRef(({ style, ...props }: QuoteProps, ref) => {
40 export const EM = forwardRef(({ style, ...props }: TextProps, ref) => {
44 export const BR = forwardRef((props: TextProps, ref) => {
45 return createElement('br', { ...props, ref });
56 export const Code = forwardRef((props: TextProps, ref) => {
[all …]
H A DText.tsx10 return <Text {...props} style={[styles.p, style]} ref={ref} />;
14 return <Text {...props} style={[styles.b, style]} ref={ref} />;
18 return <Text {...props} style={[styles.s, style]} ref={ref} />;
27 <Text {...props} style={[styles.q, style]} ref={ref}>
49 function isTextProps(props: any): props is TextProps {
50 return typeof props.children === 'string';
55 export const Pre = forwardRef((props: PreProps, ref: any) => {
56 if (isTextProps(props)) {
57 return <Text {...props} style={[styles.code, styles.pre, props.style]} ref={ref} />;
59 return <View {...props} style={[styles.pre, props.style]} ref={ref} />;
[all …]
/expo/packages/expo-camera/build/
H A DExponentCamera.web.js15 if (props.onCameraReady) {
16 props.onCameraReady();
19 onMountError: props.onMountError,
22 … return !!(props.barCodeScannerSettings?.barCodeTypes?.includes('qr') && !!props.onBarCodeScanned);
23 }, [props.barCodeScannerSettings?.barCodeTypes, props.onBarCodeScanned]);
25 interval: props.barCodeScannerSettings?.interval,
29 if (props.onBarCodeScanned) {
30 props.onBarCodeScanned(event);
55 if (props.onPictureSaved) {
90 props.children));
[all …]
/expo/packages/expo-av/build/
H A DVideo.js35 constructor(props) { argument
36 super(props);
180 if (this.props.onLoadStart) {
181 this.props.onLoadStart();
185 if (this.props.onLoad) {
192 if (this.props.onError) {
214 if (this.props.resizeMode) {
238 if (prop in this.props) {
244 ...omit(this.props, [
269 function omit(props, propNames) { argument
[all …]
H A DExponentVideo.web.js6 const Video = React.forwardRef((props, ref) => createElement('video', { ...props, ref }));
14 if (!this.props.onFullscreenUpdate)
17 this.props.onFullscreenUpdate({
22 this.props.onFullscreenUpdate({
28 if (!this.props.onStatusUpdate) {
35 if (!this.props.onLoadStart) {
38 this.props.onLoadStart();
42 if (!this.props.onLoad) {
45 this.props.onLoad(event);
49 if (!this.props.onError) {
[all …]
/expo/packages/@expo/cli/src/run/ios/
H A DrunIosAsync.ts30 const props = await resolveOptionsAsync(projectRoot, options); constant
33 const buildOutput = await XcodeBuild.buildAsync(props);
40 if (props.shouldStartBundler && !(await ensurePortAvailabilityAsync(projectRoot, props))) {
41 props.shouldStartBundler = false;
47 port: props.port,
48 headless: !props.shouldStartBundler,
55 isSimulator: props.isSimulator,
56 device: props.device,
57 shouldStartBundler: props.shouldStartBundler,
61 if (props.shouldStartBundler) {
/expo/ios/versioned-react-native/ABI48_0_0/ReactNative/ReactCommon/react/renderer/components/progressbar/android/react/renderer/components/progressbar/
H A DABI48_0_0conversions.h16 inline folly::dynamic toDynamic(AndroidProgressBarProps const &props) { in toDynamic() argument
18 serializedProps["styleAttr"] = props.styleAttr; in toDynamic()
19 serializedProps["typeAttr"] = props.typeAttr; in toDynamic()
20 serializedProps["indeterminate"] = props.indeterminate; in toDynamic()
21 serializedProps["progress"] = props.progress; in toDynamic()
22 serializedProps["animating"] = props.animating; in toDynamic()
23 serializedProps["color"] = toAndroidRepr(props.color); in toDynamic()
24 serializedProps["testID"] = props.testID; in toDynamic()
/expo/ios/versioned-react-native/ABI47_0_0/ReactNative/ReactCommon/react/renderer/components/progressbar/android/react/renderer/components/progressbar/
H A DABI47_0_0conversions.h16 inline folly::dynamic toDynamic(AndroidProgressBarProps const &props) { in toDynamic() argument
18 serializedProps["styleAttr"] = props.styleAttr; in toDynamic()
19 serializedProps["typeAttr"] = props.typeAttr; in toDynamic()
20 serializedProps["indeterminate"] = props.indeterminate; in toDynamic()
21 serializedProps["progress"] = props.progress; in toDynamic()
22 serializedProps["animating"] = props.animating; in toDynamic()
23 serializedProps["color"] = toAndroidRepr(props.color); in toDynamic()
24 serializedProps["testID"] = props.testID; in toDynamic()

12345678910>>...54