Files
grafana/public/app/features/dashboard/components/ShareModal/SharePublicDashboard/CreatePublicDashboard/Description.tsx
juanicabanas 9df4a39195 PublicDashboards: Configuration modal redesign (#63211)
Configuration modal redesign

---------

Co-authored-by: kay delaney <kay@grafana.com>
2023-02-24 12:36:29 -03:00

39 lines
1.0 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import { css } from '@emotion/css';
import cx from 'classnames';
import React from 'react';
import { GrafanaTheme2 } from '@grafana/data/src';
import { useStyles2 } from '@grafana/ui/src';
export const Description = () => {
const styles = useStyles2(getStyles);
return (
<div className={styles.container}>
<p className={styles.description}>Currently, we dont support template variables or frontend data sources</p>
<p className={styles.description}>
We&apos;d love your feedback. To share, please comment on this{' '}
<a
href="https://github.com/grafana/grafana/discussions/49253"
target="_blank"
rel="noreferrer"
className={cx('text-link', styles.description)}
>
GitHub discussion
</a>
.
</p>
</div>
);
};
const getStyles = (theme: GrafanaTheme2) => ({
container: css`
margin-bottom: ${theme.spacing(3)};
`,
description: css`
color: ${theme.colors.text.secondary};
margin-bottom: ${theme.spacing(1)};
`,
});