* Renders the component. * @return Element to render.
()
| 83 | * @return Element to render. |
| 84 | */ |
| 85 | public render() { |
| 86 | const { icon, name } = this.props.settingsView |
| 87 | |
| 88 | return ( |
| 89 | <Wrapper onClick={this.onClick}> |
| 90 | <Content> |
| 91 | <ButtonIcon icon={icon} iconSize={40} /> |
| 92 | <Name>{name}</Name> |
| 93 | </Content> |
| 94 | </Wrapper> |
| 95 | ) |
| 96 | } |
| 97 | |
| 98 | /** |
| 99 | * Triggered when the button is pressed. |
nothing calls this directly
no outgoing calls
no test coverage detected