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 49faf7c commit 20f7842Copy full SHA for 20f7842
static/app/components/acl/featureDisabled.tsx
@@ -1,7 +1,7 @@
1
import {Fragment, useState} from 'react';
2
import styled from '@emotion/styled';
3
4
-import {Alert} from 'sentry/components/alert';
+import {Alert, AlertProps} from 'sentry/components/alert';
5
import {Button, ButtonLabel} from 'sentry/components/button';
6
import ExternalLink from 'sentry/components/links/externalLink';
7
import {CONFIG_DOCS_URL} from 'sentry/constants';
@@ -34,7 +34,7 @@ type Props = {
34
* Attaches additional styles to the FeatureDisabled component to make it
35
* look consistent within the Alert.
36
*/
37
- alert?: boolean | React.ElementType;
+ alert?: boolean | React.ComponentType<AlertProps>;
38
/**
39
* Do not show the help toggle. The description will always be rendered.
40
0 commit comments