UNPKG

@yuntijs/ui

Version:

☁️ Yunti UI - an open-source UI component library for building Cloud Native web apps

16 lines (15 loc) 615 B
import type { ExceptionStatusType } from 'antd/es/result'; import React from 'react'; import { BreadcrumbLinkProps, PageBreadcrumbProps } from './Breadcrumb'; export interface PageContextValue { loading?: boolean; /** Link component */ Link: typeof React.Component | React.FC<any>; breadcrumb?: { items?: PageBreadcrumbProps['items']; setItems?: (items?: PageBreadcrumbProps['items']) => void; }; status?: ExceptionStatusType; } export declare const DefaultLink: React.FC<Omit<BreadcrumbLinkProps, 'Link'>>; export declare const PageContext: React.Context<PageContextValue>;