Updating tickLength
based on state
#1827
jbrundagejr
started this conversation in
General
Replies: 1 comment
-
Hey @jbrundagejr - currently |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey all- I don't know if I just haven't found the right prop, but I'm trying to get my
tickLength
to update based on a state variable. Is there a way of accessing the tick value? Something like<AxisBottom tickLength={tickX === tickValue ? 20 : 10}/>
where tickX is my state variable being updated. Thanks in advance for any help!!Beta Was this translation helpful? Give feedback.
All reactions