[IntroPanel] termsPopup TButtonScroller 적용

This commit is contained in:
jiwon93.son
2024-03-26 14:39:50 +09:00
parent bbf5aeaf6c
commit 907c1afa3b

View File

@@ -14,6 +14,7 @@ import { registerDevice } from "../../actions/deviceActions";
import { getHomeTerms } from "../../actions/homeActions";
import { popPanel } from "../../actions/panelActions";
import TButton, { TYPES } from "../../components/TButton/TButton";
import TButtonScroller from "../../components/TButtonScroller/TButtonScroller";
import TPanel from "../../components/TPanel/TPanel";
import TPopUp from "../../components/TPopUp/TPopUp";
import useDebugKey from "../../hooks/useDebugKey";
@@ -165,12 +166,14 @@ export default function IntroPanel({
? $L("Privacy Policy")
: $L("Terms & Conditions")}
</div>
<div
className={css.termsDesc}
dangerouslySetInnerHTML={{
__html: currentTerms && currentTerms.trmsCntt,
}}
/>
<TButtonScroller boxHeight={250}>
<div
className={css.termsDesc}
dangerouslySetInnerHTML={{
__html: currentTerms && currentTerms.trmsCntt,
}}
/>
</TButtonScroller>
</div>
)}
</TPopUp>