diff --git a/src/components/Ellipsis/index.d.ts b/src/components/Ellipsis/index.d.ts index 9fd49f17e0e59bdc79b7475637a62635d0bf7de1..03264aa913346ca00321e922d8a0373047cc8d94 100644 --- a/src/components/Ellipsis/index.d.ts +++ b/src/components/Ellipsis/index.d.ts @@ -8,4 +8,7 @@ export interface IEllipsisProps { fullWidthRecognition?: boolean; } +export function getStrFullLength(str: string): number; +export function cutStrByFullLength(str: string, maxLength: number): number; + export default class Ellipsis extends React.Component {} diff --git a/src/components/PageHeader/index.d.ts b/src/components/PageHeader/index.d.ts index c64e592b480332a97ab5691a92f4e657d3985d81..4f63283432a0f2663a8c0a37bc7fbb584b058190 100644 --- a/src/components/PageHeader/index.d.ts +++ b/src/components/PageHeader/index.d.ts @@ -20,4 +20,6 @@ export interface IPageHeaderProps { hiddenBreadcrumb?:boolean; } +export function getBreadcrumb(breadcrumbNameMap: Object, url: string): typeof Object; + export default class PageHeader extends React.Component {}