import { Tabs } from 'antd'; import SourceCode from 'dumi/theme-default/builtins/SourceCode'; import React from 'react'; import NpmLogo from './npm'; import PnpmLogo from './pnpm'; import YarnLogo from './yarn'; interface InstallProps { npm?: string; yarn?: string; pnpm?: string; } const InstallDependencies: React.FC = (props) => { const { npm, yarn, pnpm } = props; return ( {npm}, label: ( npm ), }, { key: 'yarn', children: {yarn}, label: ( yarn ), }, { key: 'pnpm', children: {pnpm}, label: ( pnpm ), }, ]} /> ); }; export default InstallDependencies;