File size: 335 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
import InternalAlert from './Alert';
import ErrorBoundary from './ErrorBoundary';
export type { AlertProps } from './Alert';
type CompoundedComponent = typeof InternalAlert & {
ErrorBoundary: typeof ErrorBoundary;
};
const Alert = InternalAlert as CompoundedComponent;
Alert.ErrorBoundary = ErrorBoundary;
export default Alert;
|