///
import React from 'react';
import type { AlertProps } from '../types';
interface AlertState {
show: boolean;
}
export declare class Alert extends React.Component {
static defaultProps: Pick;
static propsList: Array;
constructor(props: AlertProps);
handleClick(): void;
render(): JSX.Element | null;
}
declare const _default: {
new (props: Pick, "children" | "title" | "onClose" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName"> & {
showCloseButton?: boolean | undefined;
level?: "info" | "success" | "warning" | "danger" | undefined;
} & {
className?: string | undefined;
} & import("jamis-core").ThemeOutterProps): {
context: string;
ref: any;
childRef(ref: any): void;
getWrappedInstance(): any;
render(): JSX.Element;
setState(state: {} | ((prevState: Readonly<{}>, props: Readonly, "children" | "title" | "onClose" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName"> & {
showCloseButton?: boolean | undefined;
level?: "info" | "success" | "warning" | "danger" | undefined;
} & {
className?: string | undefined;
} & import("jamis-core").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
forceUpdate(callback?: (() => void) | undefined): void;
readonly props: Readonly, "children" | "title" | "onClose" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName"> & {
showCloseButton?: boolean | undefined;
level?: "info" | "success" | "warning" | "danger" | undefined;
} & {
className?: string | undefined;
} & import("jamis-core").ThemeOutterProps>;
state: Readonly<{}>;
refs: {
[key: string]: React.ReactInstance;
};
componentDidMount?(): void;
shouldComponentUpdate?(nextProps: Readonly, "children" | "title" | "onClose" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName"> & {
showCloseButton?: boolean | undefined;
level?: "info" | "success" | "warning" | "danger" | undefined;
} & {
className?: string | undefined;
} & import("jamis-core").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
componentWillUnmount?(): void;
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
getSnapshotBeforeUpdate?(prevProps: Readonly, "children" | "title" | "onClose" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName"> & {
showCloseButton?: boolean | undefined;
level?: "info" | "success" | "warning" | "danger" | undefined;
} & {
className?: string | undefined;
} & import("jamis-core").ThemeOutterProps>, prevState: Readonly<{}>): any;
componentDidUpdate?(prevProps: Readonly, "children" | "title" | "onClose" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName"> & {
showCloseButton?: boolean | undefined;
level?: "info" | "success" | "warning" | "danger" | undefined;
} & {
className?: string | undefined;
} & import("jamis-core").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
componentWillMount?(): void;
UNSAFE_componentWillMount?(): void;
componentWillReceiveProps?(nextProps: Readonly, "children" | "title" | "onClose" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName"> & {
showCloseButton?: boolean | undefined;
level?: "info" | "success" | "warning" | "danger" | undefined;
} & {
className?: string | undefined;
} & import("jamis-core").ThemeOutterProps>, nextContext: any): void;
UNSAFE_componentWillReceiveProps?(nextProps: Readonly, "children" | "title" | "onClose" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName"> & {
showCloseButton?: boolean | undefined;
level?: "info" | "success" | "warning" | "danger" | undefined;
} & {
className?: string | undefined;
} & import("jamis-core").ThemeOutterProps>, nextContext: any): void;
componentWillUpdate?(nextProps: Readonly, "children" | "title" | "onClose" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName"> & {
showCloseButton?: boolean | undefined;
level?: "info" | "success" | "warning" | "danger" | undefined;
} & {
className?: string | undefined;
} & import("jamis-core").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
UNSAFE_componentWillUpdate?(nextProps: Readonly, "children" | "title" | "onClose" | "icon" | "showIcon" | "iconClassName" | "closeButtonClassName"> & {
showCloseButton?: boolean | undefined;
level?: "info" | "success" | "warning" | "danger" | undefined;
} & {
className?: string | undefined;
} & import("jamis-core").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
};
displayName: string;
contextType: React.Context;
ComposedComponent: React.ComponentType;
} & import("hoist-non-react-statics").NonReactStatics & {
ComposedComponent: typeof Alert;
};
export default _default;