import { StyleRulesCallback, WithStyles, Typography, withStyles } from '@material-ui/core';
import { StyleRulesCallback, WithStyles, Typography, withStyles } from '@material-ui/core';
}
type CodeSnippetProps = CodeSnippetDataProps & WithStyles<CssRules>;
export const CodeSnippet = withStyles(styles)(
}
type CodeSnippetProps = CodeSnippetDataProps & WithStyles<CssRules>;
export const CodeSnippet = withStyles(styles)(
- ({ classes, lines, className }: CodeSnippetProps) =>
- <Typography
- component="div"
+ ({ classes, lines, className, apiResponse }: CodeSnippetProps) =>
+ <Typography
+ component="div"
className={classNames(classes.root, className)}>
{
lines.map((line: string, index: number) => {
className={classNames(classes.root, className)}>
{
lines.map((line: string, index: number) => {