UNPKG

@aimake/nanod

Version:

## 设计模式 NANO DESIGN 是面向于企业级中台化应用的解决方案。服务于 ToB 和 ToE 类型的单页应用,应用于各产品中从而产出了一套设计及前端规范。

22 lines (21 loc) 763 B
import * as React from 'react'; import * as PropTypes from 'prop-types'; import { ConfigConsumerProps } from '../config-provider'; export interface BreadcrumbItemProps { prefixCls?: string; separator?: React.ReactNode; href?: string; } export default class BreadcrumbItem extends React.Component<BreadcrumbItemProps, any> { static __ANT_BREADCRUMB_ITEM: boolean; static defaultProps: { separator: string; }; static propTypes: { prefixCls: PropTypes.Requireable<string>; separator: PropTypes.Requireable<string | PropTypes.ReactElementLike>; href: PropTypes.Requireable<string>; }; renderBreadcrumbItem: ({ getPrefixCls }: ConfigConsumerProps) => JSX.Element | null; render(): JSX.Element; }