Initial commit gov-llm-v2
This commit is contained in:
44
types.ts
Executable file
44
types.ts
Executable file
@@ -0,0 +1,44 @@
|
||||
|
||||
export interface SectionProps {
|
||||
id?: string;
|
||||
className?: string;
|
||||
onOpenModal?: (data: ModalData) => void;
|
||||
}
|
||||
|
||||
export interface MetricItem {
|
||||
value: string;
|
||||
label: string;
|
||||
subtext: string;
|
||||
}
|
||||
|
||||
export interface TeamMember {
|
||||
name: string;
|
||||
role: string;
|
||||
image: string;
|
||||
}
|
||||
|
||||
export type ModalType = 'article' | 'table' | 'list' | 'form';
|
||||
|
||||
export interface ModalData {
|
||||
title: string;
|
||||
type: ModalType;
|
||||
theme: 'dark' | 'light';
|
||||
content: {
|
||||
text?: string;
|
||||
headers?: string[];
|
||||
rows?: string[][];
|
||||
items?: string[];
|
||||
};
|
||||
}
|
||||
|
||||
declare global {
|
||||
namespace JSX {
|
||||
interface IntrinsicElements {
|
||||
points: any;
|
||||
bufferGeometry: any;
|
||||
bufferAttribute: any;
|
||||
pointsMaterial: any;
|
||||
ambientLight: any;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user