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/components/setupWizard/StepHeader.js

17 lines
474 B

import { Box, Headline, Margins } from '@rocket.chat/fuselage';
import React from 'react';
import { useTranslation } from '../../contexts/TranslationContext';
export function StepHeader({ number, title }) {
const t = useTranslation();
return <Margins blockEnd='32'>
<Box is='header' className='SetupWizard__StepHeader'>
<Box is='p' textStyle='c1' textColor='hint'>
{t('Step')} {number}
</Box>
<Headline is='h2'>{title}</Headline>
</Box>
</Margins>;
}