mirror of
https://github.com/empayre/fleet.git
synced 2024-11-06 17:05:18 +00:00
16 lines
332 B
TypeScript
16 lines
332 B
TypeScript
import PropTypes from "prop-types";
|
|
|
|
export default PropTypes.shape({
|
|
alertType: PropTypes.string,
|
|
isVisible: PropTypes.bool,
|
|
message: PropTypes.string,
|
|
undoAction: PropTypes.func,
|
|
});
|
|
|
|
export interface INotifications {
|
|
alertType: string;
|
|
isVisible: boolean;
|
|
message: string | JSX.Element;
|
|
undoAction: () => void;
|
|
}
|