9 lines
353 B
TypeScript
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
|