react-web-native-sketch
Version:
[TODO: We need an overview of how this can be used via npm vs as a local package]
12 lines (11 loc) • 494 B
TypeScript
import * as React from 'react';
import { InjectedTranslateProps } from "react-i18next";
import { AlertData, hideAlert } from "../../redux/reducers/navigation";
import { AlertProps } from "./Alert.types";
export interface ConnectedProps {
alerts: Array<AlertData>;
hideAlert: typeof hideAlert;
}
declare const StyledAlert: React.ComponentType<AlertProps & ConnectedProps & InjectedTranslateProps>;
export default StyledAlert;
export declare const Alert: React.ComponentType<AlertProps>;