Skip to content

Commit 20f7842

Browse files
authored
ref(ui): Refine featureDisabled prop type (#56538)
1 parent 49faf7c commit 20f7842

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

static/app/components/acl/featureDisabled.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {Fragment, useState} from 'react';
22
import styled from '@emotion/styled';
33

4-
import {Alert} from 'sentry/components/alert';
4+
import {Alert, AlertProps} from 'sentry/components/alert';
55
import {Button, ButtonLabel} from 'sentry/components/button';
66
import ExternalLink from 'sentry/components/links/externalLink';
77
import {CONFIG_DOCS_URL} from 'sentry/constants';
@@ -34,7 +34,7 @@ type Props = {
3434
* Attaches additional styles to the FeatureDisabled component to make it
3535
* look consistent within the Alert.
3636
*/
37-
alert?: boolean | React.ElementType;
37+
alert?: boolean | React.ComponentType<AlertProps>;
3838
/**
3939
* Do not show the help toggle. The description will always be rendered.
4040
*/

0 commit comments

Comments
 (0)