UNPKG

480 BTypeScriptView Raw
1import type { FC, ReactNode } from 'react';
2import { NativeProps } from '../../utils/native-props';
3export declare type NavBarProps = {
4 back?: ReactNode;
5 backIcon?: boolean | ReactNode;
6 /**
7 * @deprecated use `backIcon` instead
8 */
9 backArrow?: boolean | ReactNode;
10 left?: ReactNode;
11 right?: ReactNode;
12 onBack?: () => void;
13 children?: ReactNode;
14} & NativeProps<'--height' | '--border-bottom'>;
15export declare const NavBar: FC<NavBarProps>;