UNPKG

react95-native

Version:

Refreshed Windows 95 style UI components for your React Native app

23 lines (22 loc) 1.87 kB
import React from 'react'; import { StyleProp, ViewStyle } from 'react-native'; import type { Theme, DimensionValue } from '../../types'; declare type Props = { defaultValue?: number; disabled?: boolean; inputWidth?: DimensionValue; max?: number | null; min?: number | null; onChange?: (value: number) => void; step?: number; style?: StyleProp<ViewStyle>; theme: Theme; value?: number; variant?: 'default' | 'flat'; }; declare const _default: (React.ComponentClass<Pick<Props, "style" | "disabled" | "variant" | "onChange" | "value" | "defaultValue" | "inputWidth" | "max" | "min" | "step"> & { 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> & (({ defaultValue, disabled, inputWidth, max, min, onChange, step, style, theme, value, variant, ...rest }: Props) => JSX.Element)) | (React.FunctionComponent<Props> & (({ defaultValue, disabled, inputWidth, max, min, onChange, step, style, theme, value, variant, ...rest }: Props) => JSX.Element)), {}>) | (React.FunctionComponent<Pick<Props, "style" | "disabled" | "variant" | "onChange" | "value" | "defaultValue" | "inputWidth" | "max" | "min" | "step"> & { theme?: import("@callstack/react-theme-provider").$DeepPartial<Theme> | undefined; }> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<(React.ComponentClass<Props, any> & (({ defaultValue, disabled, inputWidth, max, min, onChange, step, style, theme, value, variant, ...rest }: Props) => JSX.Element)) | (React.FunctionComponent<Props> & (({ defaultValue, disabled, inputWidth, max, min, onChange, step, style, theme, value, variant, ...rest }: Props) => JSX.Element)), {}>); export default _default;