mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
34 lines
678 B
TypeScript
34 lines
678 B
TypeScript
import {
|
|
Bold,
|
|
Content,
|
|
OnelineCodeBlock,
|
|
P,
|
|
Template,
|
|
Title,
|
|
} from '../components';
|
|
|
|
export interface TeamLicenseProps {
|
|
license: string;
|
|
}
|
|
|
|
export default function TeamLicense(props: TeamLicenseProps) {
|
|
const { license } = props;
|
|
|
|
return (
|
|
<Template>
|
|
<Title>Here is your license key.</Title>
|
|
<Content>
|
|
<OnelineCodeBlock>{license}</OnelineCodeBlock>
|
|
<P>
|
|
You can use this key to upgrade your selfhost workspace in{' '}
|
|
<Bold>Settings > Workspace > License</Bold>.
|
|
</P>
|
|
</Content>
|
|
</Template>
|
|
);
|
|
}
|
|
|
|
TeamLicense.PreviewProps = {
|
|
license: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
|
|
};
|