Kbd

键盘按键与组合键。

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

用法

esc⌘KCtrl+B

Press ⌘K to search, ↑↓ to move and esc to close.

导入

ts
import {
  SoneKbdComponent,
  SoneKbdGroupComponent,
} from "@surface-one/angular/kbd";

API 参考

SoneKbdComponent组件

选择器
sone-kbd

SoneKbdGroupComponent组件

选择器
sone-kbd-group