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: grey["200"]
22 fontFamily: 'monospace'
26 export const DefaultCodeSnippet = (props: CodeSnippetDataProps) =>
27 <MuiThemeProvider theme={theme}>
28 <CodeSnippet {...props} />