load react component in metro

Post Reply
Posts: 3
Joined: Wed Apr 11, 2018 2:53 pm
Status: Offline

load react component in metro

Post by saeedmansoori » Tue Apr 24, 2018 8:46 am

i using metro ui & react js..
how load react component to window content??

Code: Select all

                    width: 300,
                    icon: "<span class='mif-user'> </span>",
                    title: 'user management',
                    content:( <div> <Users/></div>)

this not working !!!

User avatar
Site Admin
Posts: 205
Joined: Mon Apr 09, 2018 6:19 pm
Location: Kiev, Ukraine
Status: Offline

Post by olton » Thu Apr 26, 2018 10:31 am

You must first render the react component, and then add it when creating the window

Post Reply