mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-23 12:13:11 +00:00
* Add 'visual components' use case for forwarding refs * Rearrange "forwarding refs" to focus on simple use case * Minor wording nits to 2018-03-29-react-v-16-3.md * Minor wording nits to forwarding-refs.md * Add more info to the forwardRef reference doc * Minor wording nits to reference-react.md
8 lines
122 B
JavaScript
8 lines
122 B
JavaScript
function FancyButton(props) {
|
|
return (
|
|
<button className="FancyButton">
|
|
{props.children}
|
|
</button>
|
|
);
|
|
}
|