chore: docs

This commit is contained in:
didinele
2025-10-01 09:36:41 +03:00
parent ff9b2ca14b
commit 7a9c6ee7b3

View File

@@ -13,8 +13,10 @@ export class Refineable {
* .setTitle('Hello World') * .setTitle('Hello World')
* .setDescription('This is a description') * .setDescription('This is a description')
* .refine((b) => { * .refine((b) => {
* const intermediateValue = computeSomething();
* b.setFooter(`Computed value: ${intermediateValue}`);
* if (externalVariable) { * if (externalVariable) {
* b.setColor('Red'); * b.setColor(0xff0000);
* } * }
* }); * });
* ``` * ```