Add props for react component js snip