Skip to content

Move Chevron Icon to the Right in SidebarNavigationDisclosure #4247

Answered by krisantrobus
Clinton-dev asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @Clinton-dev 👋 this is not currently supported for the component. Is this a product of Twilio?

You can achieve something similar though by using our CustomizationProvider to target the specific header elements. Here is a CodeSandbox for how this works and code snippet below. The issue with this is it would also change the decorative icon and text positions. If you removed icons you could get it to look good if you added justifyContent: "space-between" to the customization. provider.

<CustomizationProvider
          elements={{
            SIDEBAR_NAVIGATION_DISCLOSURE_HEADING: {
              direction: "rtl",
            },
          }}
        >

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@krisantrobus
Comment options

Answer selected by krisantrobus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
External This Discussion was posted by a non-Twilio Paste consumer
3 participants