Skip to content

Commit 0ea2a80

Browse files
authored
feat(supporthub): links list component in docs-editor page - WDOC-1000 (#4581)
1 parent 6739048 commit 0ea2a80

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

pages/components/docs-editor.mdx

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,43 @@ Example using `DefaultCard` in `Grid` wrapper.
272272

273273
---
274274

275+
## LinksList
276+
277+
278+
🧩  This component uses a **Tag** style.
279+
280+
⚠️ Use a `native markdown list` in `LinksList` component for each `LinkList`
281+
282+
283+
**Code example:**
284+
285+
```jsx
286+
<LinksList>
287+
- <LinkList to="/path-to-page/" label="My secrets and variables are not injected properly in my functions" />
288+
- <LinkList to="/path-to-page/" label="My function falls after trying too many times" />
289+
- <LinkList to="/path-to-page/" label="My function is an error state" />
290+
- <LinkList to="/path-to-page/" label="Tests fail on Serverless Functions" />
291+
- <LinkList to="/path-to-page/" label="Unable to find the function handler" />
292+
- <LinkList to="/path-to-page/" label="I am unable to create a Serverless Functions namespace" />
293+
- <LinkList to="/path-to-page/" label="I am experiencing timeout errors" />
294+
</LinksList>
295+
```
296+
**Render:**
297+
298+
## Example link list
299+
<LinksList>
300+
- <LinkList to="/path-to-page/" label="My secrets and variables are not injected properly in my functions" />
301+
- <LinkList to="/path-to-page/" label="My function falls after trying too many times" />
302+
- <LinkList to="/path-to-page/" label="My function is an error state" />
303+
- <LinkList to="/path-to-page/" label="Tests fail on Serverless Functions" />
304+
- <LinkList to="/path-to-page/" label="Unable to find the function handler" />
305+
- <LinkList to="/path-to-page/" label="I am unable to create a Serverless Functions namespace" />
306+
- <LinkList to="/path-to-page/" label="I am experiencing timeout errors" />
307+
</LinksList>
308+
309+
---
310+
311+
275312
## Log (Changelog)
276313

277314
🧩 &nbsp;This functionnality uses **MDX** files.

0 commit comments

Comments
 (0)