Marker

会话中的状态行,例如“正在思考…”或“已搜索 4 条笔记”。

可用框架
  • Angular: 可用
  • Vue: 可用
  • React: 可用
  • React Native: 暂不可用

用法

Thinking…
Searched 4 meeting notes
Conversation compacted
Earlier today

导入

ts
import {
  SoneMarkerContentDirective,
  SoneMarkerDirective,
  SoneMarkerIconDirective,
} from "@surface-one/angular/marker";

API 参考

SoneMarkerContentDirective指令

选择器
[soneMarkerContent]

SoneMarkerDirective指令

选择器
[soneMarker]
输入
名称类型 默认值
variantMarkerVariant"default"

SoneMarkerIconDirective指令

选择器
[soneMarkerIcon]