@whitemordred/react-native-bootstrap5
Version:
A complete React Native library that replicates Bootstrap 5.3 with 100% feature parity, full theming support, CSS variables, and dark/light mode
58 lines • 1.63 kB
TypeScript
import React from 'react';
import { ViewStyle, TextStyle } from 'react-native';
interface NavbarProps {
children: React.ReactNode;
variant?: 'light' | 'dark';
expand?: 'sm' | 'md' | 'lg' | 'xl' | boolean;
fixed?: 'top' | 'bottom';
sticky?: 'top';
style?: ViewStyle;
}
interface NavbarBrandProps {
children: React.ReactNode;
onPress?: () => void;
style?: ViewStyle;
textStyle?: TextStyle;
}
interface NavbarToggleProps {
onPress: () => void;
style?: ViewStyle;
}
interface NavbarCollapseProps {
children: React.ReactNode;
isCollapsed: boolean;
style?: ViewStyle;
}
interface NavProps {
children: React.ReactNode;
variant?: 'tabs' | 'pills' | 'underline';
fill?: boolean;
justified?: boolean;
vertical?: boolean;
style?: ViewStyle;
}
interface NavItemProps {
children: React.ReactNode;
active?: boolean;
disabled?: boolean;
onPress?: () => void;
style?: ViewStyle;
textStyle?: TextStyle;
}
interface NavLinkProps {
children: React.ReactNode;
active?: boolean;
disabled?: boolean;
onPress?: () => void;
style?: ViewStyle;
textStyle?: TextStyle;
}
export declare const Navbar: React.FC<NavbarProps>;
export declare const NavbarBrand: React.FC<NavbarBrandProps>;
export declare const NavbarToggle: React.FC<NavbarToggleProps>;
export declare const NavbarCollapse: React.FC<NavbarCollapseProps>;
export declare const Nav: React.FC<NavProps>;
export declare const NavItem: React.FC<NavItemProps>;
export declare const NavLink: React.FC<NavLinkProps>;
export {};
//# sourceMappingURL=Navigation.d.ts.map