Skip to content
Permalink
e0a1714279
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
13 lines (11 sloc) 438 Bytes
import { AppState } from "@nteract/types";
/**
* Returns the version of the nteract application.
*/
export const appVersion = (state: AppState) => state.app.version;
/**
* Returns the notification system currently configured on the nteract application.
* This can be used to display informational or error-related alerts to the user.
*/
export const notificationSystem = (state: AppState) =>
state.app.get("notificationSystem");