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