Dropdown
Bidirectionality
Dropdowns support right-to-left (RTL) languages. The placement of
the menu as well as the menu itself will be reversed when the direction
theme variable is set to rtl
.
<DemoLayout dir="rtl"> <ThemeProvider theme={{ direction: 'rtl' }}> <Dropdown data={data} isOpen> <Button>Menu</Button> </Dropdown> </ThemeProvider> </DemoLayout>