antd-mobile
Version:
基于 React 的移动设计规范实现
20 lines (19 loc) • 487 B
TypeScript
import * as React from 'react';
export interface NavBarProps {
prefixCls?: string;
children?: any;
mode?: 'dark' | 'light';
iconName?: string | boolean;
leftContent?: any;
rightContent?: any;
onLeftClick?: () => void;
}
export default class NavBar extends React.Component<NavBarProps, any> {
static defaultProps: {
prefixCls: string;
mode: string;
iconName: string;
onLeftClick(): void;
};
render(): JSX.Element;
}