a22685c345
* Mark import sort/order/style rules as error * npm run lint -- --fix
20 lines
360 B
TypeScript
20 lines
360 B
TypeScript
import React from 'react'
|
|
import {View} from 'react-native'
|
|
|
|
import {atoms as a, flatten, useTheme, ViewStyleProp} from '#/alf'
|
|
|
|
export function Divider({style}: ViewStyleProp) {
|
|
const t = useTheme()
|
|
|
|
return (
|
|
<View
|
|
style={[
|
|
a.w_full,
|
|
a.border_t,
|
|
t.atoms.border_contrast_low,
|
|
flatten(style),
|
|
]}
|
|
/>
|
|
)
|
|
}
|