Skip to content

Commit c72935a

Browse files
committed
prettier
1 parent d5c449d commit c72935a

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

examples/16-3-release-blog-post/forward-ref-example.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ function withTheme(Component) {
66
{theme => (
77
// Assign the custom prop "forwardedRef" as a ref
88
// highlight-next-line
9-
<Component {...rest} ref={forwardedRef} theme={theme} />
9+
<Component
10+
{...rest}
11+
ref={forwardedRef}
12+
theme={theme}
13+
/>
1014
)}
1115
</ThemeContext.Consumer>
1216
);

0 commit comments

Comments
 (0)