/**
* @prettier
*/
import React, { Component } from 'react';
import List from '@material-ui/core/List/index';
import ListItemText from '@material-ui/core/ListItemText/index';
import { DetailContextConsumer } from '../../pages/version/index';
import CopyToClipBoard from '../CopyToClipBoard';
import { Heading, InstallItem, PackageMangerAvatar } from './styles';
// logos of package managers
import npm from './img/npm.svg';
import pnpm from './img/pnpm.svg';
import yarn from './img/yarn.svg';
class Install extends Component {
render() {
return (
{context => {
return this.renderCopyCLI(context);
}}
);
}
renderCopyCLI = ({ packageName }) => {
return (
<>
{'Installation'}}>{this.renderListItems(packageName)}
>
);
};
renderListItems = packageName => {
return (
<>
} secondary={'Install using NPM'} />
} secondary={'Install using Yarn'} />
} secondary={'Install using PNPM'} />
>
);
};
}
export default Install;