1.1.3-bate • Published 2 years ago

@learning-ui/terminal v1.1.3-bate

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

没有找到符合要求的 terminal 插件所以只能自己写一个

支持类型

  1. log 日志类型 自动匹配 日期(YYYY-MM-DD) 时间(HH:FF:MM) 字符串("xxx")('xxx')
  2. 未增加

使用方法 1. 下面是示例

    import Editor from "@learning-ui/terminal"
    import { Log } from "@learning-ui/terminal"
    // content?: string[]  // | JSX.Element[] | React.ReactNode[];
    // className?:CSSProperties;
    // type?: "log" | "editor" | "terminal"
    <Editor.Log
        contents={{
            content: [], // 所有的数据组合
            className: "", // 每一组的 className 
            type: "log", // 指定 editor 为 log
        }}
    />
    // 或者
    <Log
        content={[]} // 所有的数据组合
        className={""} // 每一组的 className 
    />

command 的使用示例 以及定义的 ts 类型

1.1.2-bate

2 years ago

1.1.3-bate

2 years ago

1.1.0-bate

2 years ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.1.10

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago