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 669736a

Browse files
docs: add codesandbox to advanced banner example
1 parent 47febd6 commit 669736a

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎documentation/docs/examples/advanced-banners.mdx‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,12 @@ The following is a breakdown of some of the more advanced configuration for the
2424
4. Certain layers set `expanded` to `false`. This is because they don't move or have no edge that would appear visible so there is no need to expand them.
2525
5. Lastly, a gradient overlay is added to dim the scene with an `opacity` transition.
2626

27+
:::info
28+
29+
Here's a [CodeSandbox](https://codesandbox.io/s/mvzp1) with [full page banner](https://mvzp1.csb.app/) like the one above.
30+
31+
:::
32+
2733
```tsx
2834
const Component = () => {
2935
const background: BannerLayer = {

0 commit comments

Comments
(0)

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