Skip to content

Commit f19bd67

Browse files
committed
fix border radius of bottom sheet
1 parent 69d3b94 commit f19bd67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/modal/src/ui/components/BottomSheet/BottomSheet.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { BottomSheetProps } from "./BottomSheet.type";
55
* @returns BottomSheet component
66
*/
77
function BottomSheet({ isShown, onClose, children, uiConfig }: BottomSheetProps) {
8-
const { borderRadiusType } = uiConfig;
8+
const { borderRadiusType = "large" } = uiConfig;
99
return (
1010
<>
1111
{/* Backdrop */}
@@ -23,7 +23,7 @@ function BottomSheet({ isShown, onClose, children, uiConfig }: BottomSheetProps)
2323
<div
2424
className={cn(
2525
`w3a--fixed w3a--bottom-2 w3a--left-2 w3a--mx-auto w3a--flex w3a--w-[96%] w3a--flex-col
26-
w3a--gap-y-2 w3a--rounded-3xl w3a--border w3a--border-app-gray-100 w3a--bg-app-white w3a--p-4 w3a--shadow-lg w3a--transition-transform w3a--duration-500
26+
w3a--gap-y-2 w3a--border w3a--border-app-gray-100 w3a--bg-app-white w3a--p-4 w3a--shadow-lg w3a--transition-transform w3a--duration-500
2727
w3a--ease-out dark:w3a--border-app-gray-600 dark:w3a--bg-app-dark-surface-main
2828
${isShown ? "w3a--translate-y-0 w3a--delay-700" : "w3a--translate-y-full"}`,
2929
{

0 commit comments

Comments
 (0)