UNPKG

@jdcfe/yep-react

Version:

一套移动端的React组件库

28 lines (27 loc) 772 B
import * as React from 'react'; export interface NavBarProps { prefixCls?: string; className?: string; style?: React.CSSProperties; leftIcon?: React.ReactNode; leftContent: React.ReactNode; onLeftClick?: () => void; close?: boolean; closeContent?: React.ReactNode; onCloseClick?: () => void; rightContent: React.ReactNode; share?: React.ReactNode; onRightClick?: () => void; } export default class NavBar extends React.PureComponent<NavBarProps, any> { static defaultProps: { prefixCls: string; style: {}; leftIcon: JSX.Element; closeContent: string; onLeftClick: () => null; onCloseClick: () => null; onRightClick: () => null; }; render(): JSX.Element; }