Dataset Viewer
Auto-converted to Parquet Duplicate
type
stringclasses
3 values
instruction
stringlengths
31
162
input
stringlengths
0
1.23k
output
stringlengths
109
96.9k
repo
stringclasses
167 values
path
stringlengths
5
131
extension
stringclasses
4 values
lines
int64
0
3.36k
path_completion
Create a React Native file at: Example/Collapsable.js
Repository: osdnk_react-native-reanimated-bottom-sheet
import React from 'react' import { StyleSheet, Text, View } from 'react-native' import BottomSheet from 'reanimated-bottom-sheet' import Animated from 'react-native-reanimated' const { block, set, greaterThan, lessThan, Value, cond, sub } = Animated const Lorem = () => ( <View style={{ backgroundColor: 'green' }}> ...
osdnk_react-native-reanimated-bottom-sheet
Example/Collapsable.js
.js
111
path_completion
Create a React Native file at: src/components/link/index.tsx
Repository: czy0729_Bangumi
/* * @Author: czy0729 * @Date: 2025-08-09 16:05:15 * @Last Modified by: czy0729 * @Last Modified time: 2025-10-25 12:25:48 */ import React, { useCallback, useMemo } from 'react' import { appNavigate as navigate, open } from '@utils' import { logger } from '@utils/dev' import { t } from '@utils/fetch' import { useN...
czy0729_Bangumi
src/components/link/index.tsx
.tsx
84
path_completion
Create a React Native file at: apps/native-component-list/src/utilities/useAppState.ts
Repository: expo_expo
import { useEffect, useState } from 'react'; import { AppState, AppStateStatus } from 'react-native'; export default function useAppState( initialState: AppStateStatus | null = AppState.currentState ): AppStateStatus | null { const [state, setState] = useState<AppStateStatus | null>(initialState); useEffect(() ...
expo_expo
apps/native-component-list/src/utilities/useAppState.ts
.ts
16
code_completion
Complete this React Native code
import React, { PropsWithChildren } from 'react'; import { Platform, TouchableHighlight, TouchableNativeFeedback,
import React, { PropsWithChildren } from 'react'; import { Platform, TouchableHighlight, TouchableNativeFeedback, View } from 'react-native'; import { useSharedProps } from './context/SharedPropsProvider'; import { GenericPressableProps } from './shared-types'; export default function GenericPressable({ styl...
meliorence_react-native-render-html
packages/render-html/src/GenericPressable.tsx
.tsx
0
code_completion
Complete this React Native code
/* * @Author: czy0729 * @Date: 2020-01-05 21:50:37 * @Last Modified by: czy0729 * @Last Modified time: 2025-10-22 01:24:03
/* * @Author: czy0729 * @Date: 2020-01-05 21:50:37 * @Last Modified by: czy0729 * @Last Modified time: 2025-10-22 01:24:03 */ import React from 'react' import { Component, Page } from '@components' import { StoreContext } from '@stores' import { useObserver } from '@utils/hooks' import List from './component/list'...
czy0729_Bangumi
src/screens/discovery/catalog-detail/index.tsx
.tsx
0
path_completion
Create a React Native file at: app/products/calls/screens/call_screen/call_screen.tsx
Repository: mattermost_mattermost-mobile
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. /* eslint max-lines: off */ import RNUtils from '@mattermost/rnutils'; import React, {useCallback, useEffect, useMemo, useState} from 'react'; import {useIntl} from 'react-intl'; import { Keyboard, t...
mattermost_mattermost-mobile
app/products/calls/screens/call_screen/call_screen.tsx
.tsx
1,009
code_completion
Complete this React Native code
import { ConfigPlugin, withPlugins } from '@expo/config-plugins'; import Debug from 'debug'; import { getIosSplashConfig, IOSSplashConfig } from './getIosSplashConfig'; import { withIosSplashAssets } from './withIosSplashAssets';
import { ConfigPlugin, withPlugins } from '@expo/config-plugins'; import Debug from 'debug'; import { getIosSplashConfig, IOSSplashConfig } from './getIosSplashConfig'; import { withIosSplashAssets } from './withIosSplashAssets'; import { withIosSplashColors } from './withIosSplashColors'; import { withIosSplashInfoPl...
expo_expo
packages/@expo/prebuild-config/src/plugins/unversioned/expo-splash-screen/withIosSplashScreen.ts
.ts
0
file_completion
Create a React Native component called skeleton.styles
import { StyleSheet } from 'react-native'; import { tv } from 'tailwind-variants'; import { combineStyles } from '../../helpers/internal/utils'; /** * Main skeleton component styles * * @note ANIMATED PROPERTIES (cannot be set via className): * The following property is animated and cannot be overridden using Tail...
heroui-inc_heroui-native
src/components/skeleton/skeleton.styles.ts
.ts
50
path_completion
Create a React Native file at: app/components/freeze_screen/index.tsx
Repository: mattermost_mattermost-mobile
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import React from 'react'; import {Freeze} from 'react-freeze'; import {StyleSheet, View} from 'react-native'; import {useIsTablet} from '@hooks/device'; import useFreeze from '@hooks/freeze'; type FreezeP...
mattermost_mattermost-mobile
app/components/freeze_screen/index.tsx
.tsx
80
path_completion
Create a React Native file at: src/components/theme/backdrop/backdrop.component.tsx
Repository: akveo_react-native-ui-kitten
/** * @license * Copyright Akveo. All Rights Reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ import React from 'react'; import { StyleProp, StyleSheet, TouchableOpacity, View, ViewProps, ViewStyle, } from 'react-native'; type ChildElement = R...
akveo_react-native-ui-kitten
src/components/theme/backdrop/backdrop.component.tsx
.tsx
68
code_completion
Complete this React Native code
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs'; import { NavigationContainer } from '@react-navigation/native'; import { createStackNavigator } from '@react-navigation/stack'; import * as React from 'react'; import ReactNavigationDetailScreen from './components/ReactNavigationDetailScreen';
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs'; import { NavigationContainer } from '@react-navigation/native'; import { createStackNavigator } from '@react-navigation/stack'; import * as React from 'react'; import ReactNavigationDetailScreen from './components/ReactNavigationDetailScreen'; im...
AppAndFlow_react-native-safe-area-context
example/src/ReactNavigationExample.tsx
.tsx
0
file_completion
Generate React Native code for a styles: shadows
'use strict'; import type { TextStyle, ViewStyle } from 'react-native'; import { logger } from '../../../logger'; import { opacifyColor } from '../../utils'; import { processColor } from '../processors'; import { createWebRuleBuilder } from '../ruleBuilder'; import type { ValueProcessor } from '../types'; type Shadow...
software-mansion_react-native-reanimated
packages/react-native-reanimated/src/common/web/style/builders/shadows.ts
.ts
66
file_completion
Write a component for React Native: JSTimers
/** * Copyright (c) 2015-present, Facebook, Inc. * All rights reserved. * * This source code is licensed under the BSD-style license found in the * LICENSE file in the root directory of this source tree. An additional grant * of patent rights can be found in the PATENTS file in the same directory. * * @provides...
ptmt_react-native-macos
Libraries/Core/Timers/JSTimers.js
.js
502
file_completion
Implement a React Native screen named index
/* * @Author: czy0729 * @Date: 2019-09-04 21:58:42 * @Last Modified by: czy0729 * @Last Modified time: 2026-02-07 07:58:03 */ import React from 'react' import { View } from 'react-native' import { Avatar, Flex, Text, Touchable } from '@components' import { IconBack, IconTouchable } from '@_' import { _, systemStor...
czy0729_Bangumi
src/screens/tinygrail/index/component/auth/index.tsx
.tsx
82
code_completion
Complete this React Native code
import React from 'react'; import { NativeModules } from 'react-native'; import { cloneReactChildrenWithProps } from '../utils'; import { BaseProps } from '../types/BaseProps';
import React from 'react'; import { NativeModules } from 'react-native'; import { cloneReactChildrenWithProps } from '../utils'; import { BaseProps } from '../types/BaseProps'; import RNMBXRasterSourceNativeComponent from '../specs/RNMBXRasterSourceNativeComponent'; import AbstractSource from './AbstractSource'; con...
rnmapbox_maps
src/components/RasterSource.tsx
.tsx
0
code_completion
Complete this React Native code
import { Animated, Easing, StyleSheet, View,
import { Animated, Easing, StyleSheet, View, TouchableOpacityProps as RNTouchableOpacityProps, } from 'react-native'; import GenericTouchable, { TOUCHABLE_STATE } from './GenericTouchable'; import type { GenericTouchableProps } from './GenericTouchableProps'; import * as React from 'react'; import { Component...
software-mansion_react-native-gesture-handler
packages/react-native-gesture-handler/src/components/touchables/TouchableOpacity.tsx
.tsx
0
path_completion
Create a React Native file at: screen/wallets/SelectWallet.tsx
Repository: BlueWallet_BlueWallet
import React, { useEffect, useState, useRef, useCallback } from 'react'; import { useNavigationState, useRoute, RouteProp } from '@react-navigation/native'; import { ActivityIndicator, StyleSheet, View } from 'react-native'; import triggerHapticFeedback, { HapticFeedbackTypes } from '../../blue_modules/hapticFeedback';...
BlueWallet_BlueWallet
screen/wallets/SelectWallet.tsx
.tsx
177
code_completion
Complete this React Native code
import { ActionType, OwnerType } from "@artsy/cohesion" import { SavedPriceRange } from "@artsy/cohesion/dist/Schema/Events/SavedPriceRange" import { Spacer, Text } from "@artsy/palette-mobile" import { NavigationProp, useNavigation } from "@react-navigation/native" import { StackScreenProps } from "@react-navigation/s...
import { ActionType, OwnerType } from "@artsy/cohesion" import { SavedPriceRange } from "@artsy/cohesion/dist/Schema/Events/SavedPriceRange" import { Spacer, Text } from "@artsy/palette-mobile" import { NavigationProp, useNavigation } from "@react-navigation/native" import { StackScreenProps } from "@react-navigation/s...
artsy_eigen
src/app/Scenes/Onboarding/Screens/OnboardingQuiz/OnboardingPriceRange.tsx
.tsx
0
path_completion
Create a React Native file at: packages/react-native-gesture-handler/src/v3/components/Pressable.tsx
Repository: software-mansion_react-native-gesture-handler
import React, { useCallback, useEffect, useMemo, useRef, useState, } from 'react'; import { PressableDimensions, PressableEvent, PressableProps, } from '../../components/Pressable/PressableProps'; import { Insets, LayoutChangeEvent, Platform, StyleProp, ViewStyle, } from 'react-native'; import...
software-mansion_react-native-gesture-handler
packages/react-native-gesture-handler/src/v3/components/Pressable.tsx
.tsx
389
code_completion
Complete this React Native code
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree.
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @flow strict-local * @format */ import type {CodegenTypes, TurboModule} from 'react-native'; import {TurboModuleRegistry} f...
facebook_react-native
packages/rn-tester/NativeModuleExample/NativeScreenshotManager.js
.js
0
file_completion
Implement a React Native component named agent_selector_panel
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import {type Agent} from '@agents/client/rest'; import React, {useCallback, useMemo} from 'react'; import {FlatList, type ListRenderItemInfo, TouchableOpacity, View} from 'react-native'; import {buildAbsolu...
mattermost_mattermost-mobile
app/products/agents/components/channel_summary_sheet/agent_selector_panel.tsx
.tsx
144
file_completion
Generate React Native code for a component: IMGElementContentLoading
import React, { PropsWithChildren, ReactElement } from 'react'; import { View } from 'react-native'; import { IMGElementStateLoading } from './img-types'; /** * Default loading view for the {@link IMGElement} component. */ export default function IMGElementContentLoading({ dimensions, children }: PropsWithChildr...
meliorence_react-native-render-html
packages/render-html/src/elements/IMGElementContentLoading.tsx
.tsx
18
code_completion
Complete this React Native code
import { ExpoConfig, getConfig, Platform } from '@expo/config'; import { getPlatformBundlers, PlatformBundlers } from '../start/server/platformBundlers'; import { CommandError } from '../utils/errors';
import { ExpoConfig, getConfig, Platform } from '@expo/config'; import { getPlatformBundlers, PlatformBundlers } from '../start/server/platformBundlers'; import { CommandError } from '../utils/errors'; export type Options = { outputDir: string; platforms: Platform[]; maxWorkers?: number; dev: boolean; clear...
expo_expo
packages/@expo/cli/src/export/resolveOptions.ts
.ts
0
path_completion
Create a React Native file at: src/layouts/ecommerce/product-details-1/index.tsx
Repository: akveo_kittenTricks
import React from 'react'; import { Image, Platform, View } from 'react-native'; import { Button, Input, Layout, StyleService, Text, useStyleSheet } from '@ui-kitten/components'; import { KeyboardAvoidingView } from './extra/keyboard-avoiding-view.component'; import { RateBar } from './extra/rate-bar.component'; import...
akveo_kittenTricks
src/layouts/ecommerce/product-details-1/index.tsx
.tsx
170
file_completion
Create a React Native component called tooltip
import { TooltipPreview } from '@/registry/examples/tooltip'; import * as React from 'react'; import { View } from 'react-native'; export default function TooltipScreen() { return ( <View className="flex-1 items-center justify-center p-6"> <TooltipPreview /> </View> ); }
founded-labs_react-native-reusables
apps/showcase/app/components/tooltip.tsx
.tsx
12
path_completion
Create a React Native file at: src/layouts/social/profile-7/extra/profile-social.component.tsx
Repository: akveo_kittenTricks
import React from 'react'; import { StyleSheet, View, ViewProps } from 'react-native'; import { Text } from '@ui-kitten/components'; export interface ProfileSocialProps extends ViewProps { hint: string; value: string; } export const ProfileSocial = (props: ProfileSocialProps): React.ReactElement => { const { s...
akveo_kittenTricks
src/layouts/social/profile-7/extra/profile-social.component.tsx
.tsx
37
file_completion
Generate React Native code for a utility: schema
// copied from https://github.com/expo/expo-cli/blob/d00319aae4fdcacf1a335af5a8428c45b62fc4d7/packages/xdl/src/project/Doctor.ts // minor naming changes only import { ExpoConfig } from '@expo/config'; import Schemer, { SchemerError, ValidationError } from '@expo/schemer'; function formatValidationError(validationErro...
expo_expo
packages/expo-doctor/src/utils/schema.ts
.ts
54
code_completion
Complete this React Native code
import { OwnerType } from "@artsy/cohesion" import { InfoIcon } from "@artsy/icons/native" import { Box, Button, Flex, Input, Screen, Text, useColor, useSpace } from "@artsy/palette-mobile" import { InquiryModal_artwork$key } from "__generated__/InquiryModal_artwork.graphql" import { MyProfileEditModal_me$key } from "_...
import { OwnerType } from "@artsy/cohesion" import { InfoIcon } from "@artsy/icons/native" import { Box, Button, Flex, Input, Screen, Text, useColor, useSpace } from "@artsy/palette-mobile" import { InquiryModal_artwork$key } from "__generated__/InquiryModal_artwork.graphql" import { MyProfileEditModal_me$key } from "_...
artsy_eigen
src/app/Scenes/Artwork/Components/CommercialButtons/InquiryModal.tsx
.tsx
0
path_completion
Create a React Native file at: code/packages/lucide-icons/backwards-compat/chevron-up-circle.tsx
Repository: tamagui_tamagui
import { memo } from 'react' import type { NamedExoticComponent } from 'react' import type { IconProps } from '@tamagui/helpers-icon' import { Svg, Circle as _Circle, Path } from 'react-native-svg' import { themed } from '@tamagui/helpers-icon' const Icon = (props) => { const { color = 'black', size = 24, ...otherPr...
tamagui_tamagui
code/packages/lucide-icons/backwards-compat/chevron-up-circle.tsx
.tsx
32
file_completion
Write a screen for React Native: index
/* * @Author: czy0729 * @Date: 2022-03-28 22:20:43 * @Last Modified by: czy0729 * @Last Modified time: 2025-12-26 21:59:19 */ import React from 'react' import { View } from 'react-native' import { ScrollView } from '@components' import { useStore } from '@stores' import { useObserver } from '@utils/hooks' import F...
czy0729_Bangumi
src/screens/user/smb/component/list/index.tsx
.tsx
39
path_completion
Create a React Native file at: app/components/user_item/user_item.tsx
Repository: mattermost_mattermost-mobile
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import React, {useCallback, useMemo, type ReactNode} from 'react'; import {useIntl} from 'react-intl'; import {StyleSheet, Text, TouchableOpacity, View, type StyleProp, type ViewStyle} from 'react-native'; ...
mattermost_mattermost-mobile
app/components/user_item/user_item.tsx
.tsx
226
path_completion
Create a React Native file at: code/packages/lucide-icons/backwards-compat/pi-square.tsx
Repository: tamagui_tamagui
import { memo } from 'react' import type { NamedExoticComponent } from 'react' import type { IconProps } from '@tamagui/helpers-icon' import { Svg, Path, Rect } from 'react-native-svg' import { themed } from '@tamagui/helpers-icon' const Icon = (props) => { const { color = 'black', size = 24, ...otherProps } = props...
tamagui_tamagui
code/packages/lucide-icons/backwards-compat/pi-square.tsx
.tsx
32
file_completion
Create a React Native component called ArtworkListEmptyState
import { Box, Button, Flex, Separator, Text } from "@artsy/palette-mobile" import { ArtworkListEmptyState_me$key } from "__generated__/ArtworkListEmptyState_me.graphql" import { ArtworkListHeader } from "app/Scenes/ArtworkList/ArtworkListHeader" import { ArtworkListTitle } from "app/Scenes/ArtworkList/ArtworkListTitle"...
artsy_eigen
src/app/Scenes/ArtworkList/ArtworkListEmptyState.tsx
.tsx
78
file_completion
Create a React Native screen called index.stories
/* * @Author: czy0729 * @Date: 2023-04-12 10:37:51 * @Last Modified by: czy0729 * @Last Modified time: 2024-08-06 03:29:29 */ import React from 'react' import { getStorybookArgs, Page, StorybookList, StorybookSPA, Text } from '@components' import { _ } from '@stores' const Component = () => ( <Page> <Text s...
czy0729_Bangumi
src/screens/web-view/bilibili-sync/index.stories.tsx
.tsx
31
path_completion
Create a React Native file at: packages/eslint-plugin-react-native/no-deep-imports.js
Repository: facebook_react-native
/** * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @format * @noflow */ 'use strict'; const {publicAPIMapping} = require('./utils.js'); module.exports = { meta: { type...
facebook_react-native
packages/eslint-plugin-react-native/no-deep-imports.js
.js
185
path_completion
Create a React Native file at: src/showcases/components/toggle/toggleStatus.component.tsx
Repository: akveo_react-native-ui-kitten
import React from 'react'; import { StyleSheet, View } from 'react-native'; import { Layout, Toggle, ToggleProps } from '@ui-kitten/components'; const useToggleState = (initialState = false): ToggleProps => { const [checked, setChecked] = React.useState(initialState); const onCheckedChange = (isChecked): void => ...
akveo_react-native-ui-kitten
src/showcases/components/toggle/toggleStatus.component.tsx
.tsx
108
path_completion
Create a React Native file at: packages/base/src/PricingCard/components/PricingButton.tsx
Repository: react-native-elements_react-native-elements
import React from 'react'; import { StyleSheet } from 'react-native'; import { ButtonProps, Button } from '../../Button'; import { defaultTheme, RneFunctionComponent } from '../../helpers'; import { IconProps, Icon } from '../../Icon'; export const PricingButton: RneFunctionComponent< ButtonProps & { onButtonPre...
react-native-elements_react-native-elements
packages/base/src/PricingCard/components/PricingButton.tsx
.tsx
52
path_completion
Create a React Native file at: packages/react-native-ui-lib/src/incubator/gradient/RectangleGradient.tsx
Repository: wix_react-native-ui-lib
import React from 'react'; import {LinearGradientPackage} from 'optionalDeps'; const LinearGradient = LinearGradientPackage?.default; import {RectangleGradientProps} from './types'; import View from '../../components/view'; import useAngleTransform from './useAngleTransform'; const RectangleGradient = (props: Rectangl...
wix_react-native-ui-lib
packages/react-native-ui-lib/src/incubator/gradient/RectangleGradient.tsx
.tsx
29
path_completion
Create a React Native file at: apps/common-app/src/new_api/complicated/camera/capture.tsx
Repository: software-mansion_react-native-gesture-handler
import { StyleSheet } from 'react-native'; import Animated, { SharedValue, useAnimatedProps, } from 'react-native-reanimated'; import Svg, { Circle } from 'react-native-svg'; const CAROUSEL_SIZE = 100; const RECORD_INDICATOR_STROKE = 10; const AnimatedCircle = Animated.createAnimatedComponent(Circle); interface C...
software-mansion_react-native-gesture-handler
apps/common-app/src/new_api/complicated/camera/capture.tsx
.tsx
74
file_completion
Generate React Native code for a utility: scheme
import { getConfig } from '@expo/config'; import { AndroidConfig, IOSConfig } from '@expo/config-plugins'; import { getInfoPlistPathFromPbxproj } from '@expo/config-plugins/build/ios/utils/getInfoPlistPath'; import plist from '@expo/plist'; import fs from 'fs'; import path from 'path'; import resolveFrom from 'resolve-...
expo_expo
packages/@expo/cli/src/utils/scheme.ts
.ts
112
code_completion
Complete this React Native code
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import React, {useCallback, useEffect, useMemo, useState} from 'react'; import {useIntl} from 'react-intl';
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved. // See LICENSE.txt for license information. import React, {useCallback, useEffect, useMemo, useState} from 'react'; import {useIntl} from 'react-intl'; import {Keyboard, StyleSheet, View} from 'react-native'; import {useTheme} from '@context/theme'; ...
mattermost_mattermost-mobile
app/products/playbooks/screens/edit_command/edit_command.tsx
.tsx
0
path_completion
Create a React Native file at: packages/expo-ui/src/jetpack-compose/Progress/index.tsx
Repository: expo_expo
import { requireNativeView } from 'expo'; import { ColorValue } from 'react-native'; import { ExpoModifier } from '../../types'; import { createViewModifierEventListener } from '../modifiers/utils'; export type ProgressElementColors = { /** * Track color. * * @platform android */ trackColor?: ColorVal...
expo_expo
packages/expo-ui/src/jetpack-compose/Progress/index.tsx
.tsx
103
file_completion
Implement a React Native component named code-line.component
// @flow /* eslint-disable no-nested-ternary */ import React, { Component } from 'react'; import { Text, Dimensions } from 'react-native'; import SyntaxHighlighter from 'react-native-syntax-highlighter'; import { getLanguage } from 'lowlight'; import { github as GithubStyle } from 'react-syntax-highlighter/dist/styles...
gitpoint_git-point
src/components/code-line.component.js
.js
140
file_completion
Build a multiselect-showcase.component component in React Native
import React, { useState, useCallback } from 'react'; import { StyleSheet } from 'react-native'; import { Select, SelectElement, SelectProps, SelectItem, SelectGroup, } from '@ui-kitten/components'; import { SelectOptionType } from './type'; interface SelectCustomProps extends SelectProps { data: SelectOpt...
akveo_kittenTricks
src/scenes/components/select/multiselect-showcase.component.tsx
.tsx
70
code_completion
Complete this React Native code
import React from 'react'; import { action, useAppDispatch } from '~/redux'; import { WebView } from 'react-native-webview'; const { setExtra } = action;
import React from 'react'; import { action, useAppDispatch } from '~/redux'; import { WebView } from 'react-native-webview'; const { setExtra } = action; const Webview = ({ navigation, route }: StackWebviewProps) => { const dispatch = useAppDispatch(); const { uri, source, userAgent, injectedJavascript } = route....
youniaogu_MangaReader
src/views/Webview.tsx
.tsx
0
file_completion
Implement a React Native component named RuntimeDecoration
import * as React from 'react'; import { StyleSheet, Text, View } from 'react-native'; import { Gesture, GestureDetector } from 'react-native-gesture-handler'; import { COLORS } from './colors'; import Animated, { runOnJS, useAnimatedStyle, useSharedValue, } from 'react-native-reanimated'; import { useState } fr...
software-mansion_react-native-gesture-handler
apps/basic-example/src/RuntimeDecoration.tsx
.tsx
124
code_completion
Complete this React Native code
/* * @Author: czy0729 * @Date: 2023-11-08 00:47:23 * @Last Modified by: czy0729 * @Last Modified time: 2025-10-20 09:54:19
/* * @Author: czy0729 * @Date: 2023-11-08 00:47:23 * @Last Modified by: czy0729 * @Last Modified time: 2025-10-20 09:54:19 */ import React from 'react' import { ScrollView } from 'react-native' import { r } from '@utils/dev' import { useObserver } from '@utils/hooks' import { SCROLL_VIEW_RESET_PROPS } from '@const...
czy0729_Bangumi
src/screens/discovery/index/component/award/scroll-view-horizontal/index.tsx
.tsx
0
code_completion
Complete this React Native code
import * as React from 'react' import * as C from '@/constants' import {useIsFocused} from '@react-navigation/core' import type {NavigateAppendType} from '@/router-v2/route-params'
import * as React from 'react' import * as C from '@/constants' import {useIsFocused} from '@react-navigation/core' import type {NavigateAppendType} from '@/router-v2/route-params' export const useSafeNavigation = () => { const isFocused = useIsFocused() const navigateUp = C.useRouterState(s => s.dispatch.navigate...
keybase_client
shared/util/safe-navigation.tsx
.tsx
0
file_completion
Create a React Native screen called ScreenNavigationContainerNativeComponent
'use client'; import { codegenNativeComponent } from 'react-native'; import type { ViewProps } from 'react-native'; interface NativeProps extends ViewProps {} export default codegenNativeComponent<NativeProps>( 'RNSScreenNavigationContainer', {}, );
software-mansion_react-native-screens
src/fabric/ScreenNavigationContainerNativeComponent.ts
.ts
12
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
11