// Libraries import { css } from '@emotion/css'; import React, { FC } from 'react'; // Types import { DataSourceSettings, LayoutMode } from '@grafana/data'; import { Card, Tag, useStyles } from '@grafana/ui'; export interface Props { dataSources: DataSourceSettings[]; layoutMode: LayoutMode; } export const DataSourcesList: FC = ({ dataSources, layoutMode }) => { const styles = useStyles(getStyles); return ( ); }; export default DataSourcesList; const getStyles = () => { return { list: css({ listStyle: 'none', display: 'grid', // gap: '8px', Add back when legacy support for old Card interface is dropped }), logo: css({ objectFit: 'contain', }), }; };