feedbackAlert.tsx 521 B

12345678910111213141516171819202122
  1. import styled from '@emotion/styled';
  2. import Alert from 'sentry/components/alert';
  3. import {tct} from 'sentry/locale';
  4. type Props = {
  5. className?: string;
  6. };
  7. const FeedbackAlert = ({className}: Props) => (
  8. <StyledAlert type="info" showIcon className={className}>
  9. {tct('Got feedback? Email [email:ecosystem-feedback@sentry.io].', {
  10. email: <a href="mailto:ecosystem-feedback@sentry.io" />,
  11. })}
  12. </StyledAlert>
  13. );
  14. const StyledAlert = styled(Alert)`
  15. margin: 20px 0px;
  16. `;
  17. export default FeedbackAlert;