Files
2024-02-15 17:01:50 +00:00

23 lines
620 B
TypeScript

import {Button} from 'sentry/components/button';
import ButtonBar from 'sentry/components/buttonBar';
import {IconChevron} from 'sentry/icons';
import {t} from 'sentry/locale';
type Props = {
docsLink: string;
gettingStartedLink: string;
};
export default function PlatformHeaderButtonBar({gettingStartedLink, docsLink}: Props) {
return (
<ButtonBar gap={1}>
<Button size="sm" icon={<IconChevron direction="left" />} to={gettingStartedLink}>
{t('Back')}
</Button>
<Button size="sm" href={docsLink} external>
{t('Full Documentation')}
</Button>
</ButtonBar>
);
}