platformHeaderButtonBar.tsx 537 B

1234567891011121314151617181920
  1. import Button from 'sentry/components/button';
  2. import ButtonBar from 'sentry/components/buttonBar';
  3. import {t} from 'sentry/locale';
  4. type Props = {
  5. docsLink: string;
  6. gettingStartedLink: string;
  7. };
  8. export default function PlatformHeaderButtonBar({gettingStartedLink, docsLink}: Props) {
  9. return (
  10. <ButtonBar gap={1}>
  11. <Button size="sm" to={gettingStartedLink}>
  12. {t('< Back')}
  13. </Button>
  14. <Button size="sm" href={docsLink} external>
  15. {t('Full Documentation')}
  16. </Button>
  17. </ButtonBar>
  18. );
  19. }