react-native-paper-tabs
Version:
Smooth and fast cross platform Material Design Tabs for React Native Paper
49 lines • 1.96 kB
TypeScript
import * as React from 'react';
import type { ViewStyle, TextStyle } from 'react-native';
import type { MD3LightTheme } from 'react-native-paper';
import type { IconPosition, Mode } from './utils';
declare function Tabs({ theme, dark, style, mode, uppercase, iconPosition, showTextLabel, showLeadingSpace, disableSwipe, tabHeaderStyle, tabLabelStyle, ...rest }: {
children: any;
theme: typeof MD3LightTheme;
dark?: boolean;
style?: ViewStyle;
iconPosition?: IconPosition;
showTextLabel?: boolean;
showLeadingSpace?: boolean;
uppercase?: boolean;
mode?: Mode;
disableSwipe?: boolean;
tabHeaderStyle?: ViewStyle | undefined;
tabLabelStyle?: TextStyle | undefined;
}): import("react/jsx-runtime").JSX.Element;
declare const _default: React.ComponentType<Pick<{
children: any;
theme: typeof MD3LightTheme;
dark?: boolean;
style?: ViewStyle;
iconPosition?: IconPosition;
showTextLabel?: boolean;
showLeadingSpace?: boolean;
uppercase?: boolean;
mode?: Mode;
disableSwipe?: boolean;
tabHeaderStyle?: ViewStyle | undefined;
tabLabelStyle?: TextStyle | undefined;
}, "children" | "style" | "uppercase" | "mode" | "iconPosition" | "showTextLabel" | "tabLabelStyle" | "dark" | "showLeadingSpace" | "tabHeaderStyle" | "disableSwipe"> & {
theme?: import("@callstack/react-theme-provider").$DeepPartial<unknown> | undefined;
}> & import("@callstack/react-theme-provider/typings/hoist-non-react-statics").NonReactStatics<React.ComponentType<{
children: any;
theme: typeof MD3LightTheme;
dark?: boolean;
style?: ViewStyle;
iconPosition?: IconPosition;
showTextLabel?: boolean;
showLeadingSpace?: boolean;
uppercase?: boolean;
mode?: Mode;
disableSwipe?: boolean;
tabHeaderStyle?: ViewStyle | undefined;
tabLabelStyle?: TextStyle | undefined;
}> & typeof Tabs, {}>;
export default _default;
//# sourceMappingURL=Tabs.d.ts.map