Skip to content

Commit

Permalink
fix: animated header example (#177)
Browse files Browse the repository at this point in the history
  • Loading branch information
andreialecu committed May 30, 2021
1 parent 915442e commit ebfecd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/src/AnimatedHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const Header = () => {
const Example: ExampleComponentType = () => {
return (
<ExampleComponent
renderHeader={Header}
renderHeader={() => <Header />}
minHeaderHeight={MIN_HEADER_HEIGHT}
/>
)
Expand Down

0 comments on commit ebfecd7

Please sign in to comment.