drip-table
Version:
A tiny and powerful enterprise-class solution for building tables.
11 lines (10 loc) • 339 B
TypeScript
import './index.less';
import React from 'react';
export interface AlertProps {
icon?: React.ReactNode;
message?: string | React.ReactNode;
showIcon?: boolean;
type?: 'success' | 'info' | 'warning' | 'error';
}
declare const Alert: React.MemoExoticComponent<(props: AlertProps) => React.JSX.Element>;
export default Alert;