You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
session-desktop/ts/components/session/AccentText.tsx

32 lines
815 B
TypeScript

import React from 'react';
import { LocalizerType } from '../../types/Util';
import { SessionHtmlRenderer } from './SessionHTMLRenderer';
interface Props {
i18n: LocalizerType;
showSubtitle?: boolean;
}
export class AccentText extends React.PureComponent<Props> {
constructor(props: any) {
super(props);
}
public render() {
const { showSubtitle, i18n } = this.props;
return (
<div className="session-content-accent-text">
<div className="session-content-accent-text title">
<SessionHtmlRenderer html={i18n('beginYourSession')} />
</div>
{showSubtitle && (
<div className="session-content-accent-text subtitle">
<SessionHtmlRenderer html={i18n('ensuringPeaceOfMind...')} />
</div>
5 years ago
)}
</div>
);
}
}