import { StoreState } from 'store/rootReducer';

const getLoader = (state: StoreState): {} => (state.app.loader ? state.app.loader : false);

const getHeader = (state: StoreState): string => state.app && state.app.headers;

const getForm = (state: StoreState): string => state.app && state.app.form;

export default { getLoader, getHeader, getForm };
