Add subgenerator for react component