refactor: extract bottom sheet component

This commit is contained in:
Mahyar Khanbolooki
2025-07-11 15:35:00 +03:30
parent 7cc996750b
commit 20e8be4d09
3 changed files with 51 additions and 28 deletions
@@ -2,8 +2,8 @@
import React, { useEffect, useState } from 'react'
type Props = {
visible?: boolean
export type BlurredOverlayContainerProps = {
visible: boolean
bgOpacity?: string
changeDelay?: string
effectdelay?: string
@@ -17,7 +17,7 @@ const BlurredOverlayContainer = ({
children,
onClick,
...props
}: Props) => {
}: BlurredOverlayContainerProps) => {
const [loaded, setLoaded] = useState(visible)
useEffect(() => {