MCPcopy Create free account
hub / github.com/HiDeoo/YaTA / render

Method render

src/components/SettingsViewButton.tsx:85–96  ·  view source on GitHub ↗

* Renders the component. * @return Element to render.

()

Source from the content-addressed store, hash-verified

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.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected