Files
dudu/design/components/voice/MicBar.d.ts
T
wangjia 40760aa884
ci / server (push) Failing after 14s
ci / design-tokens (push) Failing after 11s
dudu MVP:五端语音输入法初始提交
- server:Go 网关(WS 流式识别中继/计费配额/微信登录支付 mock/反馈/埋点),gummy provider 已真实联调
- desktop:Tauri 2(全局快捷键 push-to-talk/浮层/托盘/设置/登录购买/反馈/首启引导)
- android:Compose 主 App + IME(键盘内录音直传)
- ios:App + 键盘扩展(1A spike 实证键盘内不可录音,走 deep link 听写)
- design/design-pipeline:设计系统 + token 导出 iOS/Android 主题
- doc:前后端设计文档(HTML);web:官网宣传页;todo:任务看板

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-12 00:38:37 +08:00

14 lines
552 B
TypeScript

/**
* 麦克风条 — 移动端键盘的主操作:按住说话的大胶囊按键。
* @startingPoint section="Components" subtitle="按住说话 · 四种状态" viewport="700x300"
*/
export interface MicBarProps {
/** idle 按住说话 / recording 录音中 / disabled 未登录 / quota 超额 @default 'idle' */
state?: 'idle' | 'recording' | 'disabled' | 'quota';
/** 覆盖默认文案 */
label?: string;
onPointerDown?: (e: any) => void;
onPointerUp?: (e: any) => void;
}
export declare function MicBar(props: MicBarProps): any;