The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/client/views/setupWizard/StepHeader.js

19 lines
435 B

import { Box } from '@rocket.chat/fuselage';
import React from 'react';
import { useTranslation } from '../../contexts/TranslationContext';
export function StepHeader({ number, title }) {
const t = useTranslation();
return (
<Box is='header' marginBlockEnd='x32'>
<Box is='p' fontScale='c1' color='hint'>
{t('Step')} {number}
</Box>
<Box is='h2' fontScale='h1' color='default'>
{title}
</Box>
</Box>
);
}