/** * Copyright (c) OpenLens Authors. All rights reserved. * Licensed under MIT License. See LICENSE in root directory for more information. */ import "./logs-dialog.scss"; import React from "react"; import type { DialogProps } from "../dialog"; import { Dialog } from "../dialog"; import { Wizard, WizardStep } from "../wizard"; import { Notifications } from "../notifications"; import { Button } from "../button"; import { Icon } from "../icon"; import { clipboard } from "electron"; import { kebabCase } from "lodash/fp"; export interface LogsDialogProps extends DialogProps { title: string; logs: string; } export function LogsDialog({ title, logs, ...dialogProps }: LogsDialogProps) { return ( {title}} done={dialogProps.close} > )} > {logs || "There are no logs available."} ); }