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
What is this feature?
Ability to style the time string in the TimeMarker.
How should the feature work?
Just like the line and the info box and its labels, the time string should also be allowed to be styled to maintain a consistent styling.
Do you have examples or an idea of how it can be implemented?
We can pass the style as an embedded object within infoStyle props, just like the others. In src/components/TimeMarker.js, we can pass an infoStyle.time style object:
🌈Feature request
What is this feature?
Ability to style the time string in the TimeMarker.
How should the feature work?
Just like the line and the info box and its labels, the time string should also be allowed to be styled to maintain a consistent styling.
Do you have examples or an idea of how it can be implemented?
We can pass the style as an embedded object within
infoStyle
props, just like the others. In src/components/TimeMarker.js, we can pass aninfoStyle.time
style object:Additional context
The suggested style using
infoStyle.time
is based on the following styles used in TimeMarker:infoStyle.line
infoStyle.box
infoStyle.label
The text was updated successfully, but these errors were encountered: