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 7b49066 commit bed9fabCopy full SHA for bed9fab
src/sentry/static/sentry/app/components/sentryAppIcon.jsx renamed to src/sentry/static/sentry/app/components/sentryAppIcon.tsx
@@ -2,7 +2,11 @@ import PropTypes from 'prop-types';
2
import React from 'react';
3
import InlineSvg from 'app/components/inlineSvg';
4
5
-export default class SentryAppIcon extends React.Component {
+type Props = {
6
+ slug: string;
7
+} & Omit<React.ComponentPropsWithoutRef<typeof InlineSvg>, 'src'>;
8
+
9
+export default class SentryAppIcon extends React.Component<Props> {
10
static propTypes = {
11
slug: PropTypes.string.isRequired,
12
};
0 commit comments