We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Please read the help wanted guide before start.
Illustration:
Task:
Create react (preact) component of the timeline handle. It should take 100% of parent height and should be shifted -10px top :
react
preact
100%
height
-10px top
#3D1B3C
#FF4F02
white
It should receive shift prop and set that shift as translateX for the component.
shift
translateX
Also it should receive scale prop that will affect the translateX value, regarding the simple formular: translateX({shift * scale}px).
scale
translateX({shift * scale}px)
Component will have horizontal drag/pan event handler but that's not relevant right now.
drag/pan
Entire sketch mockup could be found here: link and here link.
Cheers! ~
The text was updated successfully, but these errors were encountered:
Will do
Sorry, something went wrong.
Hey, I was at the point where I need it asap, so implemented it myself.
No branches or pull requests
Please read the help wanted guide before start.
Illustration:
Task:
Create
react
(preact
) component of the timeline handle. It should take100%
of parentheight
and should be shifted-10px top
:Colors:
#3D1B3C
#FF4F02
white
Component Requirements
It should receive
shift
prop and set thatshift
astranslateX
for the component.Also it should receive
scale
prop that will affect thetranslateX
value, regarding the simple formular:translateX({shift * scale}px)
.Component will have horizontal
drag/pan
event handler but that's not relevant right now.Entire sketch mockup could be found here: link and here link.
Cheers! ~
The text was updated successfully, but these errors were encountered: