export declare const install = "npm install react-notifications-component"; export declare const usage = "import React from \"react\";\nimport ReactNotification from \"react-notifications-component\";\n\nclass App extends React.Component {\n constructor(props) {\n super(props);\n this.addNotification = this.addNotification.bind(this);\n this.notificationDOMRef = React.createRef();\n }\n\n addNotification() {\n this.notificationDOMRef.current.addNotification({\n title: \"Awesomeness\",\n message: \"Awesome Notifications!\",\n type: \"success\",\n insert: \"top\",\n container: \"top-right\",\n animationIn: [\"animate__animated\", \"animate__fadeIn\"],\n animationOut: [\"animate__animated\", \"animate__fadeOut\"],\n dismiss: { duration: 2000 }\n });\n }\n\n render() {\n return (\n
\n \n \n
\n );\n }\n}";