@oceanbase/design
Version:
The Design System of OceanBase
18 lines (17 loc) • 674 B
TypeScript
import React from 'react';
import type { ResultProps as AntResultProps, ResultStatusType as AntResultStatusType } from 'antd/es/result';
import Image403 from './403';
import Image404 from './404';
import Image500 from './500';
export * from 'antd/es/result';
export type ResultStatusType = AntResultStatusType | 'processing';
export interface ResultProps extends Omit<AntResultProps, 'status'> {
status?: ResultStatusType;
}
export interface ResultType extends React.FC<ResultProps> {
PRESENTED_IMAGE_403: typeof Image403;
PRESENTED_IMAGE_404: typeof Image404;
PRESENTED_IMAGE_500: typeof Image500;
}
declare const Result: ResultType;
export default Result;