diff options
Diffstat (limited to 'src/components/Divider.tsx')
-rw-r--r-- | src/components/Divider.tsx | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/src/components/Divider.tsx b/src/components/Divider.tsx index 9b8f79fd0..24e2789e5 100644 --- a/src/components/Divider.tsx +++ b/src/components/Divider.tsx @@ -1,10 +1,18 @@ import React from 'react' import {View} from 'react-native' -import {atoms as a, useTheme} from '#/alf' -import {ViewStyleProp} from '#/alf' +import {atoms as a, useTheme, ViewStyleProp, flatten} from '#/alf' export function Divider({style}: ViewStyleProp) { const t = useTheme() - return <View style={[a.w_full, a.border_t, t.atoms.border, style]} /> + return ( + <View + style={[ + a.w_full, + a.border_t, + t.atoms.border_contrast_low, + flatten(style), + ]} + /> + ) } |