Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit c7adad6

Browse files
Lechevallierjscottsmith
authored andcommitted
Fix documented banners example
1 parent 72d8d19 commit c7adad6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

‎documentation/docs/examples/banners.mdx‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,7 @@ const Component = () => {
116116
{ image: '/static/banner-foreground.png', speed: -10 },
117117
]}
118118
className="aspect-[2/1]"
119-
>
120-
<div className="absolute inset-0 flex items-center justify-center">
121-
<h1 className="text-8xl text-white font-thin">Hello World!</h1>
122-
</div>
123-
</ParallaxBanner>
119+
/>
124120
);
125121
};
126122
```

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /