Skip to content

Commit 2fca058

Browse files
author
renzhenchuan
committed
feat: 🎸 add reverse support
1 parent e9cf216 commit 2fca058

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎src/index.tsx‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,10 +168,14 @@ const Comp: React.RefForwardingComponent<ActionSheetRef, ActionSheetProps> = (({
168168
{
169169
top: 0,
170170
transform: 'translate3d(0, -101%, 0)',
171+
borderBottomLeftRadius: 16,
172+
borderBottomRightRadius: 16,
171173
} :
172174
{
173175
bottom: 0,
174176
transform: 'translate3d(0, 101%, 0)',
177+
borderTopLeftRadius: 16,
178+
borderTopRightRadius: 16,
175179
}),
176180
left: 0,
177181
width: "100%",

0 commit comments

Comments
 (0)