chore: image size tooltips

This commit is contained in:
jialin
2024-12-03 21:54:59 +08:00
parent 4c75a5b421
commit e1bb684c4c
9 changed files with 54 additions and 6 deletions
@@ -117,6 +117,11 @@ export const ImageParamsConfig: ParamsSchema[] = [
{ label: '512x512', value: '512x512' },
{ label: '1024x1024', value: '1024x1024' }
],
description: {
text: 'playground.params.size.description',
html: true,
isLocalized: true
},
label: {
text: 'playground.params.size',
isLocalized: true
+1
View File
@@ -55,6 +55,7 @@ export interface ParamsSchema {
attrs?: Record<string, any>;
description?: {
text: string;
html?: boolean;
isLocalized?: boolean;
};
}