Merge pull request #968 from Vijaydaswani/fix/icon-theme-property
feat: add theme property to Icon and Prompt types
This commit is contained in:
commit
bce61b2d34
2 changed files with 7 additions and 1 deletions
|
|
@ -3,6 +3,7 @@ interface Icon {
|
|||
src: string;
|
||||
mimeType?: string;
|
||||
sizes?: string[];
|
||||
theme?: "light" | "dark";
|
||||
}
|
||||
|
||||
// Helper type for objects that may have icons
|
||||
|
|
|
|||
|
|
@ -24,7 +24,12 @@ export type Prompt = {
|
|||
description?: string;
|
||||
required?: boolean;
|
||||
}[];
|
||||
icons?: { src: string; mimeType?: string; sizes?: string[] }[];
|
||||
icons?: {
|
||||
src: string;
|
||||
mimeType?: string;
|
||||
sizes?: string[];
|
||||
theme?: "light" | "dark";
|
||||
}[];
|
||||
};
|
||||
|
||||
const PromptsTab = ({
|
||||
|
|
|
|||
Loading…
Reference in a new issue