forked from seth/ipv4.army
feat: enhance Lanyard component with tooltip support and improve styling
This commit is contained in:
parent
cc451a8fef
commit
5d7220f5a8
6 changed files with 229 additions and 94 deletions
24
types/lanyard.d.ts
vendored
24
types/lanyard.d.ts
vendored
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue