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

Costum Classes in Sidebar component internal div #595

Open
DavideCamp opened this issue Jul 18, 2024 · 0 comments
Open

Costum Classes in Sidebar component internal div #595

DavideCamp opened this issue Jul 18, 2024 · 0 comments

Comments

@DavideCamp
Copy link

Detailed description

Describe in detail the issue you're having.
I want to add classes on the internal div that show sidebar items (sidebar-item-content) for customization like width or border

    <div className={classes} {...other}>
       <div className={`${prefix}--sidebar-item-content`}>{sidebar}</div>
       <div className={`${prefix}--content-section`}>{children}</div>
    </div>

Is this a feature request (new component, new icon), a bug, or a general issue? Is a feature request

Is this issue related to a specific component? Sidebar component

What did you expect to happen? I expect to pass classes as Props for the internal div
What would you like to see changed? I would like to see the ... other props also be passed to the sidebar internal div (sidebar-item-content)

What version of the WFP UI (Carbon Design System) are you using? I'm using the new design system, the last version ( July 2024)

If you want i can create a PR with this new feature, Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant