Skip to content

Commit f68d9b6

Browse files
committed
Update 04-image.md
1 parent 6aaae1d commit f68d9b6

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

packages/schemas/docs/03-infolists/04-image.md

+12-12
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ You may display the image using a 1:1 aspect ratio:
7373
use Filament\Infolists\Components\ImageEntry;
7474

7575
ImageEntry::make('author.avatar')
76-
->height(40)
76+
->imageHeight(40)
7777
->square()
7878
```
7979

@@ -85,7 +85,7 @@ Optionally, you may pass a boolean value to control if the image should be squar
8585
use Filament\Infolists\Components\ImageEntry;
8686

8787
ImageEntry::make('author.avatar')
88-
->height(40)
88+
->imageHeight(40)
8989
->square(FeatureFlag::active())
9090
```
9191

@@ -99,7 +99,7 @@ You may make the image fully rounded, which is useful for rendering avatars:
9999
use Filament\Infolists\Components\ImageEntry;
100100

101101
ImageEntry::make('author.avatar')
102-
->height(40)
102+
->imageHeight(40)
103103
->circular()
104104
```
105105

@@ -111,7 +111,7 @@ Optionally, you may pass a boolean value to control if the image should be circu
111111
use Filament\Infolists\Components\ImageEntry;
112112

113113
ImageEntry::make('author.avatar')
114-
->height(40)
114+
->imageHeight(40)
115115
->circular(FeatureFlag::active())
116116
```
117117

@@ -138,7 +138,7 @@ You may display multiple images as a stack of overlapping images by using `stack
138138
use Filament\Infolists\Components\ImageEntry;
139139

140140
ImageEntry::make('colleagues.avatar')
141-
->height(40)
141+
->imageHeight(40)
142142
->circular()
143143
->stacked()
144144
```
@@ -151,7 +151,7 @@ Optionally, you may pass a boolean value to control if the images should be stac
151151
use Filament\Infolists\Components\ImageEntry;
152152

153153
ImageEntry::make('colleagues.avatar')
154-
->height(40)
154+
->imageHeight(40)
155155
->circular()
156156
->stacked(FeatureFlag::active())
157157
```
@@ -166,7 +166,7 @@ The default ring width is `3`, but you may customize it to be from `0` to `8`:
166166
use Filament\Infolists\Components\ImageEntry;
167167

168168
ImageEntry::make('colleagues.avatar')
169-
->height(40)
169+
->imageHeight(40)
170170
->circular()
171171
->stacked()
172172
->ring(5)
@@ -182,7 +182,7 @@ The default overlap is `4`, but you may customize it to be from `0` to `8`:
182182
use Filament\Infolists\Components\ImageEntry;
183183

184184
ImageEntry::make('colleagues.avatar')
185-
->height(40)
185+
->imageHeight(40)
186186
->circular()
187187
->stacked()
188188
->overlap(2)
@@ -198,7 +198,7 @@ You may limit the maximum number of images you want to display by passing `limit
198198
use Filament\Infolists\Components\ImageEntry;
199199

200200
ImageEntry::make('colleagues.avatar')
201-
->height(40)
201+
->imageHeight(40)
202202
->circular()
203203
->stacked()
204204
->limit(3)
@@ -216,7 +216,7 @@ When you set a limit you may also display the count of remaining images by passi
216216
use Filament\Infolists\Components\ImageEntry;
217217

218218
ImageEntry::make('colleagues.avatar')
219-
->height(40)
219+
->imageHeight(40)
220220
->circular()
221221
->stacked()
222222
->limit(3)
@@ -231,7 +231,7 @@ Optionally, you may pass a boolean value to control if the remaining text should
231231
use Filament\Infolists\Components\ImageEntry;
232232

233233
ImageEntry::make('colleagues.avatar')
234-
->height(40)
234+
->imageHeight(40)
235235
->circular()
236236
->stacked()
237237
->limit(3)
@@ -249,7 +249,7 @@ use Filament\Infolists\Components\ImageEntry;
249249
use Filament\Support\Enums\TextSize;
250250

251251
ImageEntry::make('colleagues.avatar')
252-
->height(40)
252+
->imageHeight(40)
253253
->circular()
254254
->stacked()
255255
->limit(3)

0 commit comments

Comments
 (0)