import {ComponentProps} from 'react';
import styled from '@emotion/styled';
import LoadingIndicator from 'sentry/components/loadingIndicator';
import {t} from 'sentry/locale';
import {space} from 'sentry/styles/space';
import {QuickContextHovercard} from 'sentry/views/discover/table/quickContext/quickContextHovercard';
import {NoContextWrapper} from './styles';
type NoContextProps = {
isLoading: boolean;
};
export function NoContext({isLoading}: NoContextProps) {
return isLoading ? (
) : (
{t('Failed to load context for column.')}
);
}
export const HoverWrapper = styled('div')`
display: flex;
align-items: center;
gap: ${space(0.75)};
`;
export function QuickContextHoverWrapper(
props: ComponentProps
) {
return (
);
}