Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

knaus94/slotegrator-betting-react-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

slotegrator-betting-react-example

React Slotegrator Betting Render Example

type Props = {
   base64: string;
};
const BettingMarkup = ({ base64 }: Props) => {
   const setIsSignInModalOpen = useModalsStore.use.setIsSignInModalOpen();

   useEffect(() => {
      const content = new BettingContent(base64, {
         target: 'bettech1',
         debug: true,
         onLogin: () => {
            setIsSignInModalOpen(true);
         },
      });

      content.inject();

      return () => {
         content.cleanup();
      };
   }, []);

   return <div id="bettech1"></div>;
};

export default BettingMarkup;

About

React Slotegrator Betting Render Example

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published