Skip to content

Commit

Permalink
Showing 5 changed files with 344 additions and 357 deletions.
Original file line number Diff line number Diff line change
@@ -58,18 +58,10 @@ const ExternalAccount = ({ t }: ExternalAccountProps): ReactElement => {
mainAlignment="flex-start"
>
<Row width="50%" padding={{ right: 'small' }}>
<Input
label={t('label.email_address', 'E-mail address')}
value="[email protected]"
background="gray5"
/>
<Input label="Email Address" value="[email protected]" background="gray5" />
</Row>
<Row width="50%">
<Input
label={t('label.account_name', 'Account Name')}
value="New External Account 1"
background="gray5"
/>
<Input label="Account Name" value="New External Account 1" background="gray5" />
</Row>
</Row>
<Row
Original file line number Diff line number Diff line change
@@ -184,7 +184,7 @@ const PersonaUseSection = ({
>
<Row width="50%" padding={{ right: 'small' }}>
<ChipInput
label={t('label.reply_to_field_example', "e.g. Bob Smith")}
label="e.g. Bob Smith"
value=""
placeholder={t('label.folders', 'Folders')}
background="gray5"
Original file line number Diff line number Diff line change
@@ -53,7 +53,7 @@ const ModuleVersionSettings: FC = () => {
<Text>
{app.display} ({app.name})
</Text>
<Tooltip placement="top" label={t('label.click_to_copy', 'Click to copy')}>
<Tooltip placement="top" label="Click to copy">
<Text style={{ cursor: 'pointer' }} onClick={(e: any): any => copyToClipboard(e)}>
Version: {app.version}
</Text>
14 changes: 5 additions & 9 deletions src/ui-extras/spinner.tsx
Original file line number Diff line number Diff line change
@@ -6,13 +6,9 @@

import React, { FC } from 'react';
import { Button, Container } from '@zextras/carbonio-design-system';
import { useTranslation } from 'react-i18next';

export const Spinner: FC = () => {
const [t] = useTranslation();
return (
<Container width="fill" height="fill" mainAlignment="center" crossAlignment="center">
<Button type="ghost" label={t('button', 'Button')} color="primary" loading />
</Container>
);
};
export const Spinner: FC = () => (
<Container width="fill" height="fill" mainAlignment="center" crossAlignment="center">
<Button type="ghost" label="Button" color="primary" loading />
</Container>
);
671 changes: 335 additions & 336 deletions translations/en.json

Large diffs are not rendered by default.

0 comments on commit 35596ac

Please sign in to comment.