A template for building out react-based gadgets