react-terminal::rocket:渲染终端的React组件:desktop_computer:

时间:2024-02-26 22:15:11
【文件属性】:

文件名称:react-terminal::rocket:渲染终端的React组件:desktop_computer:

文件大小:168KB

文件格式:ZIP

更新时间:2024-02-26 22:15:11

react javascript terminal async props

:rocket: 渲染终端的React组件 :desktop_computer: •••• 产品特点 移动支持。 :mobile_phone: 可自定义的命令,提示和错误消息。 :check_mark_button: 支持命令回调(异步/非异步)。 :counterclockwise_arrows_button: 使用上下箭头命令历史记录。 :upwards_button: 内置光,暗和吸血鬼主题。 :rocket: 安装 使用NPM或YARN安装软件包并将其添加到您的开发依赖项中: npm install --save-dev react-terminal 要么 yarn add --dev react-terminal 用法 import { ReactTerminal } from "react-terminal"; function MyComponent(props) {


【文件预览】:
react-terminal-master
----.eslintrc.json(1KB)
----.gitignore(2KB)
----package.json(3KB)
----.codecov.yml(67B)
----src()
--------components()
--------global.d.tsx(98B)
--------contexts()
--------common()
--------themes()
--------index.scss(166B)
--------styles()
--------hooks()
--------index.tsx(525B)
----.pre-commit-config.yaml(92B)
----LICENSE(1KB)
----tsconfig.json(353B)
----.github()
--------workflows()
----rollup.config.js(822B)
----README.md(3KB)
----tests()
--------components()
--------setupTests.ts(123B)
----yarn.lock(378KB)

网友评论