freshyo/apps/user-ui/tests/mocks/native/picker.tsx
2026-10-18 21:51:01 +05:30

9 lines
353 B
TypeScript

/* eslint-disable @typescript-eslint/no-explicit-any */
import * as React from 'react'
import { View } from 'react-native'
export const Picker = ({ children, testID, ...props }: any) =>
React.createElement(View, { ...props, testID: testID ?? 'picker' }, children)
Picker.Item = (props: any) => React.createElement(View, props)
export default Picker