forked from microsoft/fluentui
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add shadow DOM TeachingBubble examples (microsoft#30088)
- Loading branch information
Showing
9 changed files
with
141 additions
and
1 deletion.
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
packages/react-examples/src/react/ShadowDOM/ShadowDOM.TeachingBubble.ButtonOrder.Example.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import * as React from 'react'; | ||
import { Shadow } from './ShadowHelper'; | ||
import { TeachingBubbleButtonOrderExample } from '../TeachingBubble/TeachingBubble.ButtonOrder.Example'; | ||
|
||
export const ShadowDOMTeachingBubbleButtonOrderExample: React.FunctionComponent = () => { | ||
return ( | ||
<Shadow> | ||
<TeachingBubbleButtonOrderExample /> | ||
</Shadow> | ||
); | ||
}; |
11 changes: 11 additions & 0 deletions
11
packages/react-examples/src/react/ShadowDOM/ShadowDOM.TeachingBubble.Condensed.Example.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import * as React from 'react'; | ||
import { Shadow } from './ShadowHelper'; | ||
import { TeachingBubbleCondensedExample } from '../TeachingBubble/TeachingBubble.Condensed.Example'; | ||
|
||
export const ShadowDOMTeachingBubbleCondensedExample: React.FunctionComponent = () => { | ||
return ( | ||
<Shadow> | ||
<TeachingBubbleCondensedExample /> | ||
</Shadow> | ||
); | ||
}; |
11 changes: 11 additions & 0 deletions
11
...ages/react-examples/src/react/ShadowDOM/ShadowDOM.TeachingBubble.Illustration.Example.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import * as React from 'react'; | ||
import { Shadow } from './ShadowHelper'; | ||
import { TeachingBubbleIllustrationExample } from '../TeachingBubble/TeachingBubble.Illustration.Example'; | ||
|
||
export const ShadowDOMTeachingBubbleIllustrationExample: React.FunctionComponent = () => { | ||
return ( | ||
<Shadow> | ||
<TeachingBubbleIllustrationExample /> | ||
</Shadow> | ||
); | ||
}; |
11 changes: 11 additions & 0 deletions
11
packages/react-examples/src/react/ShadowDOM/ShadowDOM.TeachingBubble.MultiStep.Example.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import * as React from 'react'; | ||
import { Shadow } from './ShadowHelper'; | ||
import { TeachingBubbleMultiStepExample } from '../TeachingBubble/TeachingBubble.MultiStep.Example'; | ||
|
||
export const ShadowDOMTeachingBubbleMultiStepExample: React.FunctionComponent = () => { | ||
return ( | ||
<Shadow> | ||
<TeachingBubbleMultiStepExample /> | ||
</Shadow> | ||
); | ||
}; |
11 changes: 11 additions & 0 deletions
11
...ges/react-examples/src/react/ShadowDOM/ShadowDOM.TeachingBubble.SmallHeadline.Example.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import * as React from 'react'; | ||
import { Shadow } from './ShadowHelper'; | ||
import { TeachingBubbleSmallHeadlineExample } from '../TeachingBubble/TeachingBubble.SmallHeadline.Example'; | ||
|
||
export const ShadowDOMTeachingBubbleSmallHeadlineExample: React.FunctionComponent = () => { | ||
return ( | ||
<Shadow> | ||
<TeachingBubbleSmallHeadlineExample /> | ||
</Shadow> | ||
); | ||
}; |
11 changes: 11 additions & 0 deletions
11
packages/react-examples/src/react/ShadowDOM/ShadowDOM.TeachingBubble.Wide.Example.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import * as React from 'react'; | ||
import { Shadow } from './ShadowHelper'; | ||
import { TeachingBubbleWideExample } from '../TeachingBubble/TeachingBubble.Wide.Example'; | ||
|
||
export const ShadowDOMTeachingBubbleWideExample: React.FunctionComponent = () => { | ||
return ( | ||
<Shadow> | ||
<TeachingBubbleWideExample /> | ||
</Shadow> | ||
); | ||
}; |
11 changes: 11 additions & 0 deletions
11
.../react-examples/src/react/ShadowDOM/ShadowDOM.TeachingBubble.WideIllustration.Example.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
import * as React from 'react'; | ||
import { Shadow } from './ShadowHelper'; | ||
import { TeachingBubbleWideIllustrationExample } from '../TeachingBubble/TeachingBubble.WideIllustration.Example'; | ||
|
||
export const ShadowDOMTeachingBubbleWideIllustrationExample: React.FunctionComponent = () => { | ||
return ( | ||
<Shadow> | ||
<TeachingBubbleWideIllustrationExample /> | ||
</Shadow> | ||
); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters