You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, I think is not a bug, looking at the material guides, is not common to change the Divider color in a Drawer. If this feature gains more visibility we will consider adding it into Drawer.Section, as a workaround you can do this:
<>
<Drawer.Section title="Some title" showDivider={false}>
<Drawer.Item
label="First Item"
active={active === 'first'}
onPress={() => setActive('first')}
/>
<Drawer.Item
label="Second Item"
active={active === 'second'}
onPress={() => setActive('second')}
/>
</Drawer.Section>
<Divider style={{backgroundColor: 'red'}} />
</>
```
hide the divider from `Drawer.Section` and add your own `Divider`.
Current behaviour
Divider color is not changing based on theme
Expected behaviour
changing the outlineVariant value for theme should change the divider color.
How to reproduce?
Your Environment
The text was updated successfully, but these errors were encountered: