1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import * as React from 'react';
6 import { MuiThemeProvider, createMuiTheme } from '@material-ui/core/styles';
7 import { CodeSnippet, CodeSnippetDataProps } from '~/components/code-snippet/code-snippet';
8 import grey from '@material-ui/core/colors/grey';
10 const theme = createMuiTheme({
17 backgroundColor: '#000'
22 fontFamily: 'monospace'
26 type ProcessLogCodeSnippet = CodeSnippetDataProps;
28 export const ProcessLogCodeSnippet = (props: ProcessLogCodeSnippet) =>
29 <MuiThemeProvider theme={theme}>
30 <CodeSnippet lines={props.lines} />