artwork-react-native
Version:
artwork design master for react-native
24 lines (23 loc) • 682 B
TypeScript
/// <reference types="react" />
import React from 'react';
import { StatusBarProps, NavBarProps as BasePropsType } from './PropsType';
export interface NavBarProps extends BasePropsType {
statusBar: StatusBarProps;
}
export default class NavBar extends React.Component<NavBarProps, any> {
static defaultProps: {
statusBar: {
barStyle: string;
hidden: boolean;
translucent: boolean;
animated: boolean;
};
hideNav: boolean;
icon: {};
leftContent: null;
onLeftPressed: () => void;
rightContent: null;
};
constructor(props: any);
render(): JSX.Element | null;
}