mirror of
https://github.com/wassname/talk.git
synced 2026-07-23 13:10:20 +08:00
21 lines
543 B
JavaScript
21 lines
543 B
JavaScript
import React from 'react';
|
|
import t from 'coral-framework/services/i18n';
|
|
import styles from './External.css';
|
|
import { Slot } from 'plugin-api/beta/client/components';
|
|
import { IfSlotIsNotEmpty } from 'plugin-api/beta/client/components';
|
|
|
|
const External = slot => (
|
|
<div>
|
|
<IfSlotIsNotEmpty slot={slot}>
|
|
<div className={styles.external}>
|
|
<Slot fill={slot} />
|
|
</div>
|
|
<div className={styles.separator}>
|
|
<h1>{t('sign_in.or')}</h1>
|
|
</div>
|
|
</IfSlotIsNotEmpty>
|
|
</div>
|
|
);
|
|
|
|
export default External;
|