Skip to content
New issue

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

feat: added support to change the design of a slider-thumb #4224

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Fedox-die-Ente
Copy link

As the title says, this pull requests give users the chance to edit the thumb of a slider via thumbClassName

Copy link

vercel bot commented Jul 9, 2024

Someone is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

@Fedox-die-Ente Fedox-die-Ente changed the title feat: added support to change the thumb's design feat: added support to change the design of a slider-thumb Jul 9, 2024
@shadcn
Copy link
Collaborator

shadcn commented Jul 10, 2024

@Fedox-die-Ente hmm, I wonder if this is something you'd want to do frequently or once. If frequently, then the prop makes sense. If once per app (so that all slides share the same style), then I think you can change the slider.tsx file itself.

@shadcn shadcn added component: slider postpone: more info or changes requested maintainers asked a question or needs more info labels Jul 10, 2024
@Fedox-die-Ente
Copy link
Author

@Fedox-die-Ente hmm, I wonder if this is something you'd want to do frequently or once. If frequently, then the prop makes sense. If once per app (so that all slides share the same style), then I think you can change the slider.tsx file itself.

Well, I could bet that someone in the future will say: "Hmmm, I need 2 different sliders on my site" xd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: slider postpone: more info or changes requested maintainers asked a question or needs more info
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants