chowa
Version:
UI component library based on React
19 lines (18 loc) • 658 B
TypeScript
/**
* @license chowa v1.1.3
*
* Copyright (c) Chowa Techonlogies Co.,Ltd.(http://www.chowa.cn).
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import { NotificationProps } from './notification';
export declare type InstancePlacement = 'topLeft' | 'topRight' | 'bottomLeft' | 'bottomRight';
export interface NotificationInstanceProps extends NotificationProps {
key: number;
}
export interface NotificationInstanceState {
[key: string]: NotificationInstanceProps[];
}
declare function $notification(props: NotificationProps): void;
export default $notification;