File tree Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Expand file tree Collapse file tree 3 files changed +15
-15
lines changed Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ service-to-service developer experience and performance remarkably.
131
131
</CarouselContent >
132
132
<CarouselPrevious />
133
133
<CarouselNext />
134
- <CarouselIndicator />
134
+ <CarouselIndicator label = " Opinion " />
135
135
</Carousel >
136
136
137
137
#### Key Takeaway 🔑
@@ -185,7 +185,7 @@ confusing for quickly building applications.
185
185
</CarouselContent >
186
186
<CarouselPrevious />
187
187
<CarouselNext />
188
- <CarouselIndicator />
188
+ <CarouselIndicator label = " Opinion " />
189
189
</Carousel >
190
190
191
191
#### Key Takeaway 🔑
@@ -277,7 +277,7 @@ authentication and browser support are complicated by gRPC.
277
277
</CarouselContent >
278
278
<CarouselPrevious />
279
279
<CarouselNext />
280
- <CarouselIndicator />
280
+ <CarouselIndicator label = " Opinion " />
281
281
</Carousel >
282
282
283
283
#### Key Takeaway 🔑
@@ -344,7 +344,7 @@ The world is built on standards and REST is no exception.
344
344
</CarouselContent >
345
345
<CarouselPrevious />
346
346
<CarouselNext />
347
- <CarouselIndicator />
347
+ <CarouselIndicator label = " Opinion " />
348
348
</Carousel >
349
349
350
350
#### Key Takeaway 🔑
@@ -391,7 +391,7 @@ services.
391
391
</CarouselContent >
392
392
<CarouselPrevious />
393
393
<CarouselNext />
394
- <CarouselIndicator />
394
+ <CarouselIndicator label = " Opinion " />
395
395
</Carousel >
396
396
397
397
#### Key Takeaway 🔑
@@ -441,7 +441,7 @@ lot of open source tooling that needs to be built.
441
441
</CarouselContent >
442
442
<CarouselPrevious />
443
443
<CarouselNext />
444
- <CarouselIndicator />
444
+ <CarouselIndicator label = " Opinion " />
445
445
</Carousel >
446
446
447
447
#### Key Takeaway 🔑
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ excited, and others are just curious.
68
68
</CarouselContent >
69
69
<CarouselPrevious />
70
70
<CarouselNext />
71
- <CarouselIndicator />
71
+ <CarouselIndicator label = " Opinion " />
72
72
</Carousel >
73
73
74
74
To analyze how developers truly feel about HTMX, I went to where developers
@@ -145,7 +145,7 @@ of building user interfaces.
145
145
</CarouselContent >
146
146
<CarouselPrevious />
147
147
<CarouselNext />
148
- <CarouselIndicator />
148
+ <CarouselIndicator label = " Opinion " />
149
149
</Carousel >
150
150
151
151
#### Takeaway
@@ -190,7 +190,7 @@ might be ignoring the modern best practices of building web applications.
190
190
</CarouselContent >
191
191
<CarouselPrevious />
192
192
<CarouselNext />
193
- <CarouselIndicator />
193
+ <CarouselIndicator label = " Opinion " />
194
194
</Carousel >
195
195
196
196
#### Takeaway
@@ -251,7 +251,7 @@ engineerings teams less productive and codebases more complex.
251
251
</CarouselContent >
252
252
<CarouselPrevious />
253
253
<CarouselNext />
254
- <CarouselIndicator />
254
+ <CarouselIndicator label = " Opinion " />
255
255
</Carousel >
256
256
257
257
#### Takeaway
@@ -304,7 +304,7 @@ HTMX is only good for simple use-cases.
304
304
</CarouselContent >
305
305
<CarouselPrevious />
306
306
<CarouselNext />
307
- <CarouselIndicator />
307
+ <CarouselIndicator label = " Opinion " />
308
308
</Carousel >
309
309
310
310
#### Takeaway
@@ -395,7 +395,7 @@ developers of the application.
395
395
</CarouselContent >
396
396
<CarouselPrevious />
397
397
<CarouselNext />
398
- <CarouselIndicator />
398
+ <CarouselIndicator label = " Opinion " />
399
399
</Carousel >
400
400
401
401
#### Takeaway
Original file line number Diff line number Diff line change @@ -292,8 +292,8 @@ CarouselNext.displayName = "CarouselNext";
292
292
293
293
const CarouselIndicator = React . forwardRef <
294
294
HTMLDivElement ,
295
- React . HTMLAttributes < HTMLDivElement >
296
- > ( ( { className, ...props } , ref ) => {
295
+ React . HTMLAttributes < HTMLDivElement > & { label ?: string }
296
+ > ( ( { className, label = "Slide" , ...props } , ref ) => {
297
297
const { current, total } = useCarousel ( ) ;
298
298
299
299
return (
@@ -302,7 +302,7 @@ const CarouselIndicator = React.forwardRef<
302
302
className = { cn ( "text-center text-sm text-muted-foreground" , className ) }
303
303
{ ...props }
304
304
>
305
- Slide { current } of { total }
305
+ { label } { current } of { total }
306
306
</ div >
307
307
) ;
308
308
} ) ;
You can’t perform that action at this time.
0 commit comments