Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add icon 'x' or turn off icon facebook message #226

Open
nqam1904 opened this issue Aug 24, 2023 · 0 comments
Open

How to add icon 'x' or turn off icon facebook message #226

nqam1904 opened this issue Aug 24, 2023 · 0 comments

Comments

@nqam1904
Copy link

nqam1904 commented Aug 24, 2023

Hi everybody!
I had an issue with message facebook SDK, i want to add icon 'x' css style message facebook to delete element facebook message.

const closeFacebook = () => {
        const box: any = document.getElementById('fb-root');
        box.style.display = 'none';
    };
<span className="close-icon" onClick={closeFacebook}> &#10005 </span>
<div id="fb-root" />
<div id="fb-customer-chat" className="fb-customerchat" />

I wonder if anyone has ever had a similar issue and managed to solve it like I did. I need some guidance for the solution.
Thank you very much.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant