import React from 'react' ; import { WaitingFor , WaitingForProps } from './WaitingFor' ; import { useClassFor , classForComponent } from '../utils/classFor' ; import '../styles/base/waitingForTransaction.sass' ; import '../styles/themes/Legacy/waitingForTransactionThemeLegacy.sass' ; import '../styles/themes/Jarvis/waitingForTransactionThemeJarvis.sass' ; import '../styles/themes/UniLogin/waitingForTransactionThemeUniLogin.sass' ; export const AppPreloader = ( { description } ) => ( < div className = { useClassFor ( 'waitingfortransaction' ) } > < WaitingFor action = "Loading..." description = { description } / > < div className = { classForComponent ( 'waitingfortransaction-modal-pending-section' ) } > < div className = { classForComponent ( 'waitingfortransaction-pending-img' ) } > < /div> < /div> < /div>);