Develop react widget with spm.