@prosperitainova/dumbo-react-native
Version:
Dumbo for React Native Library
23 lines • 991 B
TypeScript
import React from 'react';
import { ViewProps, StyleProp, ViewStyle } from 'react-native';
import type { NavigationButton } from '../../types/navigation';
/** Props for BottomNavigationBar component */
export type BottomNavigationBarProps = {
/** Navigation items to load */
items: NavigationButton[];
/** Style to set on the item */
style?: StyleProp<ViewStyle>;
/** Direct props to set on the React Native component (including iOS and Android specific props). Most use cases should not need this. */
componentProps?: ViewProps;
};
/**
* BottomNavigationBar component for rendering the bottom navigation bar
*
* {@link https://github.com/carbon-design-system/carbon-react-native/blob/main/example/src/Views/BottomNavigationBar.tsx | Example code}
*/
export declare class BottomNavigationBar extends React.Component<BottomNavigationBarProps> {
private get styles();
private get items();
render(): React.ReactNode;
}
//# sourceMappingURL=index.d.ts.map