import { css } from '@emotion/css'; import * as React from 'react'; import { GrafanaTheme2 } from '@grafana/data'; import { Icon, Stack, Text, TextLink, useStyles2 } from '@grafana/ui'; export interface Props {} const ConfigureAuthCTA: React.FunctionComponent = () => { const styles = useStyles2(getStyles); return (
Configuration required You have no authentication configuration created at the moment. Refer to the documentation on how to configure authentication
); }; const getStyles = (theme: GrafanaTheme2) => { return { container: css({ display: 'flex', flexDirection: 'column', gap: theme.spacing(2), backgroundColor: theme.colors.background.secondary, borderRadius: theme.shape.radius.default, padding: theme.spacing(3), width: 'max-content', margin: theme.spacing(3, 'auto'), }), }; }; export default ConfigureAuthCTA;