@teambit/envs.aspect-docs.envs 0.0.0-2c67bbb3b3a56ff1d82349b9da8cbc7907e1cf1d

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const EnvsDocs: () => React.JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { ThemeCompositions } from '@teambit/documenter.theme.theme-compositions';
3
+ import { MDXLayout } from '@teambit/mdx.ui.mdx-layout';
4
+ import { Envs } from './index';
5
+ export const EnvsDocs = () => (_jsx(ThemeCompositions, { children: _jsx(MDXLayout, { children: _jsx(Envs, {}) }) }));
6
+ //# sourceMappingURL=envs.composition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"envs.composition.js","sourceRoot":"","sources":["../envs.composition.tsx"],"names":[],"mappings":";AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AACjF,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAE/B,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,EAAE,CAAC,CAC5B,KAAC,iBAAiB,cAChB,KAAC,SAAS,cACR,KAAC,IAAI,KAAG,GACE,GACM,CACrB,CAAC"}
@@ -0,0 +1,34 @@
1
+ ---
2
+ description: 'Docs for Envs aspect'
3
+ labels: ['docs', 'aspect', 'extensions']
4
+ ---
5
+
6
+ import { Envs } from './index';
7
+
8
+ ## Static Content Page in MDX
9
+
10
+ Docs for Envs aspect
11
+
12
+ ### Component usage
13
+
14
+ Use your component in any mdx file:
15
+
16
+ ```js
17
+ import { Envs } from '@teambit/aspect-docs.envs';
18
+
19
+ <Envs />;
20
+ ```
21
+
22
+ ### Render with theme and MDX providers
23
+
24
+ ```js
25
+ import { ThemeCompositions } from '@teambit/documenter.theme.theme-compositions';
26
+ import { MDXLayout } from '@teambit/ui.mdx-layout';
27
+ import { Envs } from '@teambit/aspect-docs.envs';
28
+
29
+ <ThemeCompositions>
30
+ <MDXLayout>
31
+ <Envs />
32
+ </MDXLayout>
33
+ </ThemeCompositions>;
34
+ ```