feat(web): connect quick share flow

Signed-off-by: JustMe <mr.toing@outlook.com>
This commit is contained in:
justme committed 2026-10-02 00:59:37 +08:00
1 parent 53768a195d
commit e02e024605
138 files changed
+10614

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
import { Button } from '@/ui/Button';
import styles from './UndoBar.module.css';
/** 删除后 5 秒内可撤销(ui-design §8) */
export function UndoBar({ onUndo }: { onUndo: () => void }) {
return (
<div className={styles.bar} role="status">
<span>已删除</span>
<Button variant="ghost" icon="undo" onClick={onUndo}>撤销</Button>
</div>
);
}