매매 시그널 디테일 팝업 기능 적용
This commit is contained in:
@@ -30,6 +30,7 @@ export interface AppPopupProps {
|
||||
headerExtra?: React.ReactNode;
|
||||
footer?: React.ReactNode;
|
||||
initialPosition?: { x: number; y: number };
|
||||
bodyRef?: React.Ref<HTMLDivElement>;
|
||||
}
|
||||
|
||||
export const AppPopup: React.FC<AppPopupProps> = ({
|
||||
@@ -53,6 +54,7 @@ export const AppPopup: React.FC<AppPopupProps> = ({
|
||||
headerExtra,
|
||||
footer,
|
||||
initialPosition,
|
||||
bodyRef,
|
||||
}) => {
|
||||
const accentGlow = accentColor === APP_POPUP_ACCENT
|
||||
? APP_POPUP_ACCENT_GLOW
|
||||
@@ -130,7 +132,7 @@ export const AppPopup: React.FC<AppPopupProps> = ({
|
||||
✕
|
||||
</button>
|
||||
</div>
|
||||
<div className={bodyClassName}>{children}</div>
|
||||
<div ref={bodyRef} className={bodyClassName}>{children}</div>
|
||||
{footer}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user