import moment from 'moment'; import { SectionTitleArrow } from '@/entities/common/ui/section-title-arrow'; import { InfoSectionKeys, InfoSectionProps } from '../../model/types'; import { SlideDown } from 'react-slidedown'; import 'react-slidedown/lib/slidedown.css'; export const EscrowInfoSection = ({ escrowInfo, isOpen, onClickToOpenInfo }: InfoSectionProps) => { const onClickToSetOpenInfo = () => { if(!!onClickToOpenInfo){ onClickToOpenInfo(InfoSectionKeys.Escrow); } }; return ( <>
onClickToSetOpenInfo() } > 정산 정보
{ !!isOpen && }
) };