UNPKG

react95-native

Version:

Refreshed Windows 95 style UI components for your React Native app

18 lines (17 loc) 1.41 kB
import React from 'react'; import { StyleProp, ViewStyle } from 'react-native'; import type { Theme, AnyValue } from '../../types'; import { Option } from './SelectBase'; declare type Props = { onChange: (value: AnyValue) => void; options: Array<Option>; style?: StyleProp<ViewStyle>; theme: Theme; value: [AnyValue] | AnyValue; }; declare const _default: (React.ComponentClass<Pick<Props, "style" | "onChange" | "value" | "options"> & { theme?: import("@callstack/react-theme-provider").$DeepPartial<Theme> | undefined; }, any> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass<Props, any> & (({ onChange, options, style, theme, value, ...rest }: Props) => JSX.Element)) | (React.FunctionComponent<Props> & (({ onChange, options, style, theme, value, ...rest }: Props) => JSX.Element)), {}>) | (React.FunctionComponent<Pick<Props, "style" | "onChange" | "value" | "options"> & { theme?: import("@callstack/react-theme-provider").$DeepPartial<Theme> | undefined; }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass<Props, any> & (({ onChange, options, style, theme, value, ...rest }: Props) => JSX.Element)) | (React.FunctionComponent<Props> & (({ onChange, options, style, theme, value, ...rest }: Props) => JSX.Element)), {}>); export default _default;