UNPKG

react95-native

Version:

Refreshed Windows 95 style UI components for your React Native app

16 lines (15 loc) 1.26 kB
import React from 'react'; import { StyleProp, ViewStyle } from 'react-native'; import type { Theme } from '../../types'; declare type Props = { disabled?: boolean; segments?: number; style?: StyleProp<ViewStyle>; theme: Theme; }; declare const _default: (React.ComponentClass<Pick<Props, "style" | "disabled" | "segments"> & { 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, segments, style, theme, ...rest }: Props) => JSX.Element)) | (React.FunctionComponent<Props> & (({ disabled, segments, style, theme, ...rest }: Props) => JSX.Element)), {}>) | (React.FunctionComponent<Pick<Props, "style" | "disabled" | "segments"> & { 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, segments, style, theme, ...rest }: Props) => JSX.Element)) | (React.FunctionComponent<Props> & (({ disabled, segments, style, theme, ...rest }: Props) => JSX.Element)), {}>); export default _default;