import type { Instance, InstanceTab } from "../../generated/types"; import ScreencastTile from "../screencast/ScreencastTile"; import { EmptyView } from "../molecules"; interface Props { instance?: Instance; tabs: InstanceTab[]; isRunning: boolean; } export default function ProfileLiveViewPanel({ instance, tabs, isRunning, }: Props) { return (
{isRunning && instance ? ( tabs.length === 0 ? ( ) : (
{tabs.map((tab) => (
))}
) ) : ( )}
); }