You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you feel like there is no need to add extra component you can pass all props for indicator like this: <Progress ... IndicatorProps={...} />
and spread it inside indicator primitive
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Currently progress's indicator component seems abstracted and less reusable by default
Still, we can adjust the default added code by shadcn like below:
Use it like this:
If you feel like there is no need to add extra component you can pass all props for indicator like this:
<Progress ... IndicatorProps={...} />
and spread it inside indicator primitive
Beta Was this translation helpful? Give feedback.
All reactions