How can I apply the ::-webkit-scrollbar pseudo elements to a component using inline styling in React?
::-webkit-scrollbar
You can't write pseudo selector inline, you need to add it in css. Refer this link
pseudo
link