2018-10-24 22:01:07 +08:00
|
|
|
import React from 'react';
|
|
|
|
import { FormattedMessage } from 'react-intl';
|
2017-10-26 07:11:06 +08:00
|
|
|
import { TransitionGroup, CSSTransition } from 'react-transition-group';
|
2018-01-08 14:17:18 +08:00
|
|
|
import { styles } from './styles.scss';
|
2016-05-27 08:03:30 +08:00
|
|
|
|
2018-10-24 22:01:07 +08:00
|
|
|
export default () => (
|
|
|
|
<TransitionGroup>
|
|
|
|
<CSSTransition
|
|
|
|
classNames={{
|
|
|
|
appear: styles.appear,
|
|
|
|
appearActive: styles.appearActive,
|
|
|
|
}}
|
|
|
|
appear
|
|
|
|
enter={false}
|
|
|
|
exit={false}
|
|
|
|
timeout={{ enter: 400 }}
|
|
|
|
className={styles.contentWrapper}
|
|
|
|
>
|
|
|
|
<div className={styles.content}>
|
|
|
|
<div className={styles.defaultContent}>
|
|
|
|
<p>
|
|
|
|
<FormattedMessage
|
|
|
|
id="app.home.greeting"
|
|
|
|
description="Message to greet the user."
|
|
|
|
defaultMessage="Your presentation will begin shortly..."
|
|
|
|
/>
|
|
|
|
<br />
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</CSSTransition>
|
|
|
|
</TransitionGroup>
|
|
|
|
);
|