react95-native
Version:
Refreshed Windows 95 style UI components for your React Native app
20 lines (19 loc) • 1.61 kB
TypeScript
import React from 'react';
import { StyleProp, ViewStyle } from 'react-native';
import type { Theme, AnyValue } from '../../types';
import { Option } from './SelectBase';
declare type Props = {
disabled?: boolean;
menuMaxHeight?: number;
onChange: (value: AnyValue) => void;
options: Array<Option>;
style?: StyleProp<ViewStyle>;
theme: Theme;
value: AnyValue;
};
declare const _default: (React.ComponentClass<Pick<Props, "style" | "disabled" | "onChange" | "value" | "options" | "menuMaxHeight"> & {
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> & (({ disabled, menuMaxHeight, onChange, options, style, theme, value, ...rest }: Props) => JSX.Element)) | (React.FunctionComponent<Props> & (({ disabled, menuMaxHeight, onChange, options, style, theme, value, ...rest }: Props) => JSX.Element)), {}>) | (React.FunctionComponent<Pick<Props, "style" | "disabled" | "onChange" | "value" | "options" | "menuMaxHeight"> & {
theme?: import("@callstack/react-theme-provider").$DeepPartial<Theme> | undefined;
}> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass<Props, any> & (({ disabled, menuMaxHeight, onChange, options, style, theme, value, ...rest }: Props) => JSX.Element)) | (React.FunctionComponent<Props> & (({ disabled, menuMaxHeight, onChange, options, style, theme, value, ...rest }: Props) => JSX.Element)), {}>);
export default _default;