UNPKG

@cainiaofe/cn-ui-m

Version:
17 lines (16 loc) 681 B
import React from 'react'; import { ShowOptions } from './func'; import type { CnMessageProps } from './types'; import './index.scss'; export declare const CnMessage: React.FC<CnMessageProps> & { show: (options: ShowOptions) => () => void; success: (options: string | ShowOptions) => () => void; error: (options: string | ShowOptions) => () => void; notice: (options: string | ShowOptions) => () => void; help: (options: string | ShowOptions) => () => void; loading: (options: string | ShowOptions) => () => void; warning: (options: string | ShowOptions) => () => void; hide: () => void; }; export type { CnMessageProps }; export default CnMessage;