import { css } from '@emotion/css'; import React from 'react'; import { GrafanaTheme2 } from '@grafana/data'; import { Button, Card, LinkButton, ModalsController, useStyles2 } from '@grafana/ui'; import { contextSrv } from 'app/core/services/context_srv'; import { DashNavButton } from '../dashboard/components/DashNav/DashNavButton'; import { ShareModal } from './ShareModal'; import { PlaylistDTO } from './types'; interface Props { setStartPlaylist: (playlistItem: PlaylistDTO) => void; setPlaylistToDelete: (playlistItem: PlaylistDTO) => void; playlists: PlaylistDTO[] | undefined; } export const PlaylistPageList = ({ playlists, setStartPlaylist, setPlaylistToDelete }: Props) => { const styles = useStyles2(getStyles); return ( ); }; function getStyles(theme: GrafanaTheme2) { return { list: css({ display: 'grid', }), listItem: css({ listStyle: 'none', }), }; }