You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/content/ActionList2.mdx
+14-16Lines changed: 14 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ import {ActionList} from '@primer/components/drafts'
55
55
56
56
## Examples
57
57
58
-
## Minimal example
58
+
###Minimal example
59
59
60
60
```javascript live noinline
61
61
// import {ActionList} from '@primer/components/drafts'
@@ -74,7 +74,7 @@ render(
74
74
75
75
<br />
76
76
77
-
## With Leading Visual
77
+
###With leading visual
78
78
79
79
Leading visuals are optional and appear at the start of an item. They can be octicons, avatars, and other custom visuals that fit a small area.
80
80
@@ -103,7 +103,7 @@ render(
103
103
104
104
<br />
105
105
106
-
## With Trailing Visual
106
+
### With trailing visual
107
107
108
108
Trailing visual and trailing text can display auxiliary information. They're placed at the right of the item, and can denote status, keyboard shortcuts, or be used to set expectations about what the action does.
109
109
@@ -135,7 +135,7 @@ render(
135
135
136
136
<br />
137
137
138
-
## With Description and Dividers
138
+
###With description and dividers
139
139
140
140
Item dividers allow users to parse heavier amounts of information. They're placed between items and are useful in complex lists, particularly when descriptions or multi-line text is present.
141
141
@@ -170,7 +170,7 @@ render(
170
170
)
171
171
```
172
172
173
-
## With Links
173
+
###With links
174
174
175
175
When you want to add links to the List instead of actions, use `ActionList.LinkItem`
176
176
@@ -209,7 +209,7 @@ render(
209
209
210
210
<br />
211
211
212
-
## With Groups
212
+
### With groups
213
213
214
214
```javascript live noinline
215
215
// import {ActionList} from '@primer/components/drafts'
0 commit comments