UNPKG

react95-native

Version:

Refreshed Windows 95 style UI components for your React Native app

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