import { css } from '@emotion/css'; import { GrafanaTheme2 } from '@grafana/data'; import { Trans } from '@grafana/i18n'; import { Box, Stack, Text, LinkButton, useStyles2 } from '@grafana/ui'; import { IconCircle } from './IconCircle'; interface EnhancedFeaturesProps { hasPublicAccess: boolean; hasImageRenderer: boolean; onSetupPublicAccess: () => void; } export const EnhancedFeatures = ({ hasPublicAccess, hasImageRenderer, onSetupPublicAccess }: EnhancedFeaturesProps) => { const style = useStyles2(getStyles); return ( Enhance your GitHub experience Get the most out of your GitHub integration with these optional add-ons Instant updates and pull requests with webhooks. Get instant updates in Grafana as soon as changes are committed. Review and approve changes using pull requests before they go live. Set up public webhooks
Visual previews in pull requests with image rendering See visual previews of dashboard updates directly in pull requests Set up image rendering ); }; function getStyles(theme: GrafanaTheme2) { return { separator: css({ borderRight: `2px solid ${theme.colors.border.weak}`, }), }; }