Skip to content

Commit e709ae1

Browse files
docs: add the seed prop to fillBackground options (#188)
1 parent 0abaef4 commit e709ae1

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

packages/docs/src/content/docs/components/image/configuration.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,11 @@ a background, or an object, which can take the following options:
495495
type: 'string',
496496
example: () => <code>cupcakes</code>,
497497
},
498+
{
499+
prop: 'seed',
500+
type: 'number',
501+
example: () => (<code>3</code>),
502+
},
498503
]}
499504
/>
500505

@@ -512,7 +517,8 @@ Customizing options:
512517
fillBackground={{
513518
crop: 'clpad',
514519
gravity: 'south',
515-
prompt: 'cupcakes'
520+
prompt: 'cupcakes',
521+
seed: '3'
516522
}}
517523
```
518524

packages/docs/src/content/docs/helpers/getcldimageurl/configuration.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,6 +466,11 @@ a background, or an object, which can take the following options:
466466
type: 'string',
467467
example: () => <code>cupcakes</code>,
468468
},
469+
{
470+
prop: 'seed',
471+
type: 'number',
472+
example: () => (<code>3</code>),
473+
},
469474
]}
470475
/>
471476

@@ -483,7 +488,8 @@ Customizing options:
483488
fillBackground: {
484489
crop: 'clpad',
485490
gravity: 'south',
486-
prompt: 'cupcakes'
491+
prompt: 'cupcakes',
492+
seed: '3'
487493
}
488494
```
489495

0 commit comments

Comments
 (0)