Created
June 20, 2022 15:45
-
-
Save krystalcampioni/71a99d76df93051fa69bd905fb1ab71c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export function useYScale({ | |
drawableHeight, | |
integersOnly, | |
data | |
}) { | |
// ... | |
return { yScale, yTicks } | |
} | |
export function useXScale({ | |
drawableWidth, | |
integersOnly, | |
data, | |
}) { | |
// ... | |
return { xScale, xTicks } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment