Skip to content

Commit 7a9c6ee

Browse files
committed
chore: docs
1 parent ff9b2ca commit 7a9c6ee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/builders/src/mixins/Refineable.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ export class Refineable {
1313
* .setTitle('Hello World')
1414
* .setDescription('This is a description')
1515
* .refine((b) => {
16+
* const intermediateValue = computeSomething();
17+
* b.setFooter(`Computed value: ${intermediateValue}`);
1618
* if (externalVariable) {
17-
* b.setColor('Red');
19+
* b.setColor(0xff0000);
1820
* }
1921
* });
2022
* ```

0 commit comments

Comments
 (0)