- <Figure type="circle"/>
- <Figure type="square"/>
- <Figure type="triangle"/>
+ <Figure type="circle" change={() => this.change('circle')}/>
+ <Figure type="square" change={() => this.change('square')}/>
+ <Figure type="triangle" change={() => this.change('triangle')}/>
sergeyviktorovich, а вы подумайте.