Skip to content

Commit bed9fab

Browse files
author
Stephen Cefali
authored
chore(ts): convert SentryAppIcon (#15569)
1 parent 7b49066 commit bed9fab

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/sentry/static/sentry/app/components/sentryAppIcon.jsx renamed to src/sentry/static/sentry/app/components/sentryAppIcon.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@ import PropTypes from 'prop-types';
22
import React from 'react';
33
import InlineSvg from 'app/components/inlineSvg';
44

5-
export default class SentryAppIcon extends React.Component {
5+
type Props = {
6+
slug: string;
7+
} & Omit<React.ComponentPropsWithoutRef<typeof InlineSvg>, 'src'>;
8+
9+
export default class SentryAppIcon extends React.Component<Props> {
610
static propTypes = {
711
slug: PropTypes.string.isRequired,
812
};

0 commit comments

Comments
 (0)