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',
23 useNextVariants: true,
27 export const DefaultCodeSnippet = (props: CodeSnippetDataProps) =>
28 <MuiThemeProvider theme={theme}>
29 <CodeSnippet {...props} />