UNPKG

@prosperitainova/dumbo-react-native

Version:
23 lines 1.01 kB
import React from 'react'; import { ViewProps, StyleProp, ViewStyle } from 'react-native'; import type { ToolbarButton } from '../../types/navigation'; /** Props for BottomToolbar component */ export type BottomToolbarProps = { /** Toolbar items to load */ items: ToolbarButton[]; /** 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; }; /** * BottomToolbar component for rendering the bottom toolbar. This is similar to BottomNavigationBar but offers a call to action * * {@link https://github.com/carbon-design-system/carbon-react-native/blob/main/example/src/Views/BottomToolbar.tsx | Example code} */ export declare class BottomToolbar extends React.Component<BottomToolbarProps> { private get styles(); private get items(); render(): React.ReactNode; } //# sourceMappingURL=index.d.ts.map