diff options
author | Paul Frazee <pfrazee@gmail.com> | 2024-11-23 16:20:24 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-23 16:20:24 -0800 |
commit | 32bf8122e8c8a0fbadd53b8a015cfbc9014519a2 (patch) | |
tree | 55bd24596e6fadadbf4326b26e3d14e418c5c7bb /src/components/Dialog/shared.tsx | |
parent | 523d1f01a51c0e85e49916fb42b204f7004ffac1 (diff) | |
parent | b4d07c4112b9a62b5380948051aa4a7fd391a2d4 (diff) | |
download | voidsky-32bf8122e8c8a0fbadd53b8a015cfbc9014519a2.tar.zst |
Merge branch 'main' into main
Diffstat (limited to 'src/components/Dialog/shared.tsx')
-rw-r--r-- | src/components/Dialog/shared.tsx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/components/Dialog/shared.tsx b/src/components/Dialog/shared.tsx index 6f9bc2678..44a4f6b0b 100644 --- a/src/components/Dialog/shared.tsx +++ b/src/components/Dialog/shared.tsx @@ -1,7 +1,7 @@ import React from 'react' import {StyleProp, TextStyle, View, ViewStyle} from 'react-native' -import {atoms as a, useTheme, web} from '#/alf' +import {atoms as a, useTheme} from '#/alf' import {Text} from '#/components/Typography' export function Header({ @@ -29,10 +29,8 @@ export function Header({ a.border_b, t.atoms.border_contrast_medium, t.atoms.bg, - web([ - {borderRadiusTopLeft: a.rounded_md.borderRadius}, - {borderRadiusTopRight: a.rounded_md.borderRadius}, - ]), + {borderTopLeftRadius: a.rounded_md.borderRadius}, + {borderTopRightRadius: a.rounded_md.borderRadius}, style, ]}> {renderLeft && ( |