Application Android et IOS pour l'amicale des élèves https://play.google.com/store/apps/details?id=fr.amicaleinsat.application
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

SidebarDivider.js 609B

1234567891011121314151617181920212223
  1. import * as React from 'react';
  2. import { withTheme } from 'react-native-paper';
  3. import {DrawerItem} from "@react-navigation/drawer";
  4. function SidebarDivider(props) {
  5. const { colors } = props.theme;
  6. return (
  7. <DrawerItem
  8. label={props.title}
  9. focused={false}
  10. onPress={undefined}
  11. style={{
  12. marginLeft: 0,
  13. marginRight: 0,
  14. padding: 0,
  15. borderRadius: 0,
  16. backgroundColor: colors.dividerBackground
  17. }}
  18. />
  19. );
  20. }
  21. export default withTheme(SidebarDivider);