import type {LinkButtonProps} from 'sentry/components/button'; import {LinkButton} from 'sentry/components/button'; import DiscoverFeature from 'sentry/components/discover/discoverFeature'; import {t} from 'sentry/locale'; /** * Provide a button that turns itself off if the current organization * doesn't have access to discover results. */ function DiscoverButton(buttonProps: LinkButtonProps) { return ( {({hasFeature}) => ( )} ); } export default DiscoverButton;