feat: enhance Lanyard component with tooltip support and improve styling

This commit is contained in:
Seth 2025-05-19 01:13:14 -04:00
parent cc451a8fef
commit 5d7220f5a8
6 changed files with 229 additions and 94 deletions

24
types/lanyard.d.ts vendored
View file

@ -1,9 +1,27 @@
type LanyardActivity = {
type: number;
id: string;
name: string;
details?: string;
type: number;
state?: string;
[key: string]: unknown;
session_id: string;
details?: string;
application_id: string;
timestamps?: {
start?: number;
end?: number;
};
assets?: {
large_image?: string;
large_text?: string;
small_image?: string;
small_text?: string;
};
created_at?: number;
buttons?: string[];
};
type LanyardData = {