From b1d705ad60db09bf17832920ab2475c5d47d1989 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Maughan=20Tegn=C3=A9r?= Date: Fri, 30 Mar 2018 16:08:36 +0200 Subject: [PATCH] Use correct component name in context doc example (#740) * Use correct component name in context doc example I'm assuming the intention was to reference the `FancyButton` component defined directly above, unless I'm misunderstanding how to read this example. * Prettier --- examples/context/forwarding-refs-fancy-button.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/context/forwarding-refs-fancy-button.js b/examples/context/forwarding-refs-fancy-button.js index c8ec42a1..9e8f6d86 100644 --- a/examples/context/forwarding-refs-fancy-button.js +++ b/examples/context/forwarding-refs-fancy-button.js @@ -11,6 +11,8 @@ class FancyButton extends React.Component { // highlight-range{1,3} export default React.forwardRef((props, ref) => ( - {theme =>