import React, { useContext } from 'react'; import { css } from 'emotion'; import { ThemeContext, LargeLinkButton, CallToActionCard } from '@grafana/ui'; export const NoDataSourceCallToAction = () => { const theme = useContext(ThemeContext); const message = 'Explore requires at least one data source. Once you have added a data source, you can query it here.'; const footer = ( <> <> ProTip: You can also define data sources through configuration files. Learn more ); const ctaElement = ( Add data source ); const cardClassName = css` max-width: ${theme.breakpoints.lg}; `; return ( ); };