Bubble

消息的对话气泡,提供 default、secondary、muted 和 ghost 变体。

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

用法

default — the agenda is in the shared doc.
secondary — the agenda is in the shared doc.
muted — the agenda is in the shared doc.
tinted — the agenda is in the shared doc.
outline — the agenda is in the shared doc.
ghost — the agenda is in the shared doc.
destructive — the agenda is in the shared doc.
Aligned to the end, for the current user.

导入

ts
import {
  SoneBubbleContentDirective,
  SoneBubbleDirective,
  SoneBubbleGroupDirective,
} from "@surface-one/angular/bubble";

API 参考

SoneBubbleContentDirective指令

选择器
[soneBubbleContent]

SoneBubbleDirective指令

选择器
[soneBubble]
输入
名称类型 默认值
variantBubbleVariant"default"
alignBubbleAlign"start"

SoneBubbleGroupDirective指令

选择器
[soneBubbleGroup]