We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2abaf95 commit a117b19Copy full SHA for a117b19
src/sentry/static/sentry/app/components/idBadge/badgeDisplayName.jsx renamed to src/sentry/static/sentry/app/components/idBadge/badgeDisplayName.tsx
@@ -1,10 +1,9 @@
1
-import React from 'react';
2
import styled from 'react-emotion';
3
4
import overflowEllipsis from 'app/styles/overflowEllipsis';
5
import space from 'app/styles/space';
6
7
-const BadgeDisplayName = styled(({hideOverflow, ...props}) => <span {...props} />)`
+const BadgeDisplayName = styled('span')<{hideOverflow?: boolean}>`
8
${p => p.hideOverflow && overflowEllipsis};
9
${p =>
10
p.hideOverflow &&
0 commit comments