mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-12-01 09:15:33 +08:00
refactor: rebuild desktop app with Tauri
This commit is contained in:
1 parent
a3ec2a0dfc
commit
4053a7fb20
808 files changed
+87359
-181491
No files matched your search
@@ -0,0 +1,7 @@
|
||||
import type { ReactNode } from "react";
|
||||
import { Card } from "./Card";
|
||||
import styles from "./TitledCard.module.scss";
|
||||
|
||||
export function TitledCard({ title, action, children }: { title: ReactNode; action?: ReactNode; children: ReactNode }) {
|
||||
return <Card as="section" className={styles.root}><header className={styles.header}><div className={styles.title}>{title}</div>{action}</header>{children}</Card>;
|
||||
}
|
||||
Reference in new issue
Block a user