Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertCarreras committed Feb 3, 2025
1 parent ea4661e commit 09fe783
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 71 deletions.
11 changes: 2 additions & 9 deletions docs/examples/banneroverlay/desktop.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useState } from 'react';
import { BannerOverlay, Button, DeviceTypeProvider, FixedZIndex, Image, Link, Text } from 'gestalt';
import { BannerOverlay, Button, DeviceTypeProvider, FixedZIndex, Icon, Link, Text } from 'gestalt';

export default function Example() {
const [showComponent, setShowComponent] = useState(true);
Expand Down Expand Up @@ -36,14 +36,7 @@ export default function Example() {
accessibilityLabel: 'Get the app',
}}
thumbnail={{
image: (
<Image
alt="Pinterest Logo"
naturalHeight={1}
naturalWidth={1}
src="https://i.ibb.co/LQc8ynn/image.png"
/>
),
icon: <Icon accessibilityLabel="" color="brandPrimary" icon="pinterest" />,
}}
title="More to Explore"
zIndex={new FixedZIndex(100)}
Expand Down
11 changes: 2 additions & 9 deletions docs/examples/banneroverlay/doEducate.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useState } from 'react';
import { BannerOverlay, Button, FixedZIndex, Image, Link, Text } from 'gestalt';
import { BannerOverlay, Button, FixedZIndex, Icon, Link, Text } from 'gestalt';

export default function Example() {
const [showComponent, setShowComponent] = useState(true);
Expand Down Expand Up @@ -27,14 +27,7 @@ export default function Example() {
setShowComponent(false);
}}
thumbnail={{
image: (
<Image
alt="Pinterest Logo"
naturalHeight={1}
naturalWidth={1}
src="https://i.ibb.co/LQc8ynn/image.png"
/>
),
icon: <Icon accessibilityLabel="" color="brandPrimary" icon="pinterest" />,
}}
title="More to Explore"
zIndex={new FixedZIndex(100)}
Expand Down
11 changes: 2 additions & 9 deletions docs/examples/banneroverlay/doNavigate.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useState } from 'react';
import { BannerOverlay, Button, FixedZIndex, Image, Link, Text } from 'gestalt';
import { BannerOverlay, Button, FixedZIndex, Icon, Link, Text } from 'gestalt';

export default function Example() {
const [showComponent, setShowComponent] = useState(true);
Expand Down Expand Up @@ -27,14 +27,7 @@ export default function Example() {
setShowComponent(false);
}}
thumbnail={{
image: (
<Image
alt="Pinterest Logo"
naturalHeight={1}
naturalWidth={1}
src="https://i.ibb.co/LQc8ynn/image.png"
/>
),
icon: <Icon accessibilityLabel="" color="brandPrimary" icon="pinterest" />,
}}
title="More to Explore"
zIndex={new FixedZIndex(100)}
Expand Down
20 changes: 3 additions & 17 deletions docs/examples/banneroverlay/dontStack.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Fragment, useState } from 'react';
import { BannerOverlay, Button, FixedZIndex, Image } from 'gestalt';
import { BannerOverlay, Button, FixedZIndex, Icon } from 'gestalt';

export default function Example() {
const [showComponent, setShowComponent] = useState(true);
Expand All @@ -20,14 +20,7 @@ export default function Example() {
setShowComponent(false);
}}
thumbnail={{
image: (
<Image
alt="Pinterest Logo"
naturalHeight={1}
naturalWidth={1}
src="https://i.ibb.co/LQc8ynn/image.png"
/>
),
icon: <Icon accessibilityLabel="" color="brandPrimary" icon="pinterest" />,
}}
title="More to explore"
zIndex={new FixedZIndex(100)}
Expand All @@ -47,14 +40,7 @@ export default function Example() {
accessibilityLabel: 'Get the app',
}}
thumbnail={{
image: (
<Image
alt="Pinterest Logo"
naturalHeight={1}
naturalWidth={1}
src="https://i.ibb.co/LQc8ynn/image.png"
/>
),
icon: <Icon accessibilityLabel="" color="brandPrimary" icon="pinterest" />,
}}
title="Mmmmm...tasty!"
zIndex={new FixedZIndex(100)}
Expand Down
11 changes: 2 additions & 9 deletions docs/examples/banneroverlay/main.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useState } from 'react';
import { BannerOverlay, Button, FixedZIndex, Image, Link, Text } from 'gestalt';
import { BannerOverlay, Button, FixedZIndex, Icon, Link, Text } from 'gestalt';

export default function Example() {
const [showComponent, setShowComponent] = useState(true);
Expand Down Expand Up @@ -41,14 +41,7 @@ export default function Example() {
accessibilityLabel: 'Not now',
}}
thumbnail={{
image: (
<Image
alt="Pinterest Logo"
naturalHeight={1}
naturalWidth={1}
src="https://i.ibb.co/LQc8ynn/image.png"
/>
),
icon: <Icon accessibilityLabel="" color="brandPrimary" icon="pinterest" />,
}}
title="More to Explore"
zIndex={new FixedZIndex(100)}
Expand Down
11 changes: 2 additions & 9 deletions docs/examples/banneroverlay/message.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useState } from 'react';
import { BannerOverlay, Button, FixedZIndex, Image, Link, Text } from 'gestalt';
import { BannerOverlay, Button, FixedZIndex, Icon, Link, Text } from 'gestalt';

export default function Example() {
const [showComponent, setShowComponent] = useState(true);
Expand Down Expand Up @@ -41,14 +41,7 @@ export default function Example() {
accessibilityLabel: 'Not now',
}}
thumbnail={{
image: (
<Image
alt="Pinterest Logo"
naturalHeight={1}
naturalWidth={1}
src="https://i.ibb.co/LQc8ynn/image.png"
/>
),
icon: <Icon accessibilityLabel="" color="brandPrimary" icon="pinterest" />,
}}
title="More to Explore"
zIndex={new FixedZIndex(100)}
Expand Down
11 changes: 2 additions & 9 deletions docs/examples/banneroverlay/mobile.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useState } from 'react';
import { BannerOverlay, Button, DeviceTypeProvider, FixedZIndex, Image, Link, Text } from 'gestalt';
import { BannerOverlay, Button, DeviceTypeProvider, FixedZIndex, Icon, Link, Text } from 'gestalt';

export default function Example() {
const [showComponent, setShowComponent] = useState(true);
Expand Down Expand Up @@ -36,14 +36,7 @@ export default function Example() {
accessibilityLabel: 'Get the app',
}}
thumbnail={{
image: (
<Image
alt="Pinterest Logo"
naturalHeight={1}
naturalWidth={1}
src="https://i.ibb.co/LQc8ynn/image.png"
/>
),
icon: <Icon accessibilityLabel="" color="brandPrimary" icon="pinterest" />,
}}
title="More to Explore"
zIndex={new FixedZIndex(100)}
Expand Down

0 comments on commit 09fe783

Please sign in to comment.