Skip to content

Commit a117b19

Browse files
markstoryNisanthan Nanthakumar
authored and
Nisanthan Nanthakumar
committed
ref(ts) Move BadgeDisplayName to typescript (#16361)
1 parent 2abaf95 commit a117b19

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/sentry/static/sentry/app/components/idBadge/badgeDisplayName.jsx renamed to src/sentry/static/sentry/app/components/idBadge/badgeDisplayName.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
import React from 'react';
21
import styled from 'react-emotion';
32

43
import overflowEllipsis from 'app/styles/overflowEllipsis';
54
import space from 'app/styles/space';
65

7-
const BadgeDisplayName = styled(({hideOverflow, ...props}) => <span {...props} />)`
6+
const BadgeDisplayName = styled('span')<{hideOverflow?: boolean}>`
87
${p => p.hideOverflow && overflowEllipsis};
98
${p =>
109
p.hideOverflow &&

0 commit comments

Comments
 (0)