Commit d68d121
committed
feat(ui): add validation for progress prop in ProgressBar
Add input validation to the ProgressBar component to ensure the progress prop is between 0 and 100. If invalid, log an error message to the console for debugging and robustness.1 parent 7aa0013 commit d68d121
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
6 | 10 | | |
7 | 11 | | |
8 | 12 | | |
| |||
0 commit comments