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
Most npm packege has the section of Usage in the home page .But i don't find here the section which might be a bit of user unfriendly.
The text was updated successfully, but these errors were encountered:
What about a simple example like the following? This would demonstrate how to use the key CSS properties.
Slider.tsx
import ReactSlider from "react-slider"; import "./Slider.css"; function Slider() { return ( <ReactSlider className="horizontal-slider" thumbClassName="thumb" trackClassName="track" /> ); } export { Slider };
Slider.css
.horizontal-slider { width: 100%; max-width: 20ch; padding-left: 0.5%; padding-right: 0.5%; } .thumb { cursor: pointer; background: black; border: 10px solid black; border-radius: 100%; transform: translate(0,-50%); display: block; } .track { background: black; height: 5px; transform: translate(0,-50%); z-index: 50; }
Sorry, something went wrong.
Yeah, I think that would be nice.
No branches or pull requests
Most npm packege has the section of Usage in the home page .But i don't find here the section which might be a bit of user unfriendly.
The text was updated successfully, but these errors were encountered: