This repository was archived by the owner on Mar 25, 2025. It is now read-only.
Commit d712d27
feat(slider): slider with indicator props
- we would like to build a custom slider with an indicator popup above
the knob showing what the value of the slider is when pressed and
when the knob is being moved.
- this PR adds two optional props `onPressed` and `onKnobMoved` that
would allow us to archive this behavior in our project.1 parent ae2da82 commit d712d27
1 file changed
+26
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
305 | 313 | | |
306 | 314 | | |
307 | 315 | | |
| |||
334 | 342 | | |
335 | 343 | | |
336 | 344 | | |
| 345 | + | |
| 346 | + | |
337 | 347 | | |
338 | 348 | | |
339 | 349 | | |
| |||
357 | 367 | | |
358 | 368 | | |
359 | 369 | | |
| 370 | + | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
360 | 375 | | |
361 | 376 | | |
362 | 377 | | |
| |||
441 | 456 | | |
442 | 457 | | |
443 | 458 | | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
444 | 469 | | |
445 | 470 | | |
446 | 471 | | |
| |||
597 | 622 | | |
598 | 623 | | |
599 | 624 | | |
600 | | - | |
601 | | - | |
602 | | - | |
| 625 | + | |
603 | 626 | | |
604 | 627 | | |
605 | 628 | | |
| |||
0 commit comments