forked from cypress-io/cypress-documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MDXComponents.js
147 lines (144 loc) · 3.77 KB
/
MDXComponents.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
// Import the original mapper
import MDXComponents from "@theme-original/MDXComponents";
import AnatomyOfAnError from "@site/docs/partials/_anatomy-of-an-error.mdx";
import Badge from "@site/src/components/badge";
import ComponentOnlyBadge from "@site/src/components/component-only-badge";
import CtBetaAlert from "@site/docs/partials/_CtBetaAlert.mdx";
import TestReplayInfo from "@site/docs/partials/_test-replay-info.mdx";
import CypressConfigFileTabs from "@site/src/components/cypress-config-file-tabs";
import DefaultSelectorPriority from "@site/docs/partials/_default-selector-priority.mdx";
import DocsImage from "@site/src/components/docs-image";
import DocsVideo from "@site/src/components/docs-video";
import DocumentDomainWorkaround from "@site/docs/partials/_document-domain-workaround.mdx";
import E2EOnlyBadge from "@site/src/components/e2e-only-badge";
import E2EOrCtTabs from "@site/src/components/e2e-or-ct-tabs";
import VueSyntaxTabs from "@site/src/components/vue-syntax-tabs";
import Icon from "@site/src/components/icon";
import ImportMountFunctions from "@site/docs/partials/_import-mount-functions.mdx";
import IntellisenseCodeCompletion from "@site/docs/partials/_intellisense-code-completion.mdx";
import SupportFileConfiguration from "@site/docs/partials/_support-file-configuration.mdx";
import Tabs from "@theme/Tabs";
import TabItem from "@theme/TabItem";
import ThenShouldAndDifference from "@site/docs/partials/_then-should-and-difference.mdx";
import WarningPluginsFile from "@site/docs/partials/_warning-plugins-file.mdx";
import WarningSetupNodeEvents from "@site/docs/partials/_warning-setup-node-events.mdx";
import VideoRecordingSupportedBrowsers from "@site/docs/partials/_video-recording-supported-browsers.mdx"
import Logo from "@site/src/components/logo";
import CloudFreePlan from "@site/docs/partials/_cloud_free_plan.mdx";
import CiProviderCloudSteps from "@site/docs/partials/_ci_provider_cloud_steps.mdx";
import UrlAllowList from "@site/docs/partials/_url_allowlist.mdx";
// Font Awesome
import { library } from '@fortawesome/fontawesome-svg-core'
import { fab } from '@fortawesome/free-brands-svg-icons'
import {
faAngleRight,
faBan,
faBook,
faBug,
faCamera,
faCheck,
faCheckCircle,
faCheckSquare,
faChevronLeft,
faChevronRight,
faCode,
faCog,
faCogs,
faCopy,
faCrosshairs,
faDownload,
faExclamationTriangle,
faExternalLinkAlt,
faFileCode,
faFolderOpen,
faGlobe,
faGraduationCap,
faHeart,
faHistory,
faImage,
faLongArrowAltUp,
faMagic,
faMousePointer,
faPlayCircle,
faPlus,
faQuestionCircle,
faSearch,
faStar,
faSyncAlt,
faTerminal,
faTimes,
faTree,
faVideo,
} from '@fortawesome/free-solid-svg-icons'
library.add(
fab,
faAngleRight,
faBan,
faBook,
faBug,
faCamera,
faCheck,
faCheckCircle,
faCheckSquare,
faChevronLeft,
faChevronRight,
faCode,
faCog,
faCogs,
faCopy,
faCrosshairs,
faDownload,
faExclamationTriangle,
faExternalLinkAlt,
faFileCode,
faFolderOpen,
faGlobe,
faGraduationCap,
faHeart,
faHistory,
faImage,
faLongArrowAltUp,
faMagic,
faMousePointer,
faPlayCircle,
faPlus,
faQuestionCircle,
faSearch,
faStar,
faSyncAlt,
faTerminal,
faTimes,
faTree,
faVideo
)
export default {
// Re-use the default mapping
...MDXComponents,
AnatomyOfAnError,
Badge,
ComponentOnlyBadge,
CtBetaAlert,
CypressConfigFileTabs,
DefaultSelectorPriority,
DocsImage,
DocsVideo,
DocumentDomainWorkaround,
E2EOnlyBadge,
E2EOrCtTabs,
VueSyntaxTabs,
Icon,
ImportMountFunctions,
IntellisenseCodeCompletion,
SupportFileConfiguration,
Tabs,
TabItem,
TestReplayInfo,
ThenShouldAndDifference,
WarningPluginsFile,
WarningSetupNodeEvents,
VideoRecordingSupportedBrowsers,
Logo,
CloudFreePlan,
CiProviderCloudSteps,
UrlAllowList
}