how to repeat component onclick in react code example Example: how to repeat component onclick in react how to repeat component onclick in react