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: packages/react/src/Skeleton/SkeletonBox.docs.json
+7-1Lines changed: 7 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,12 @@
16
16
],
17
17
"importPath": "@primer/react",
18
18
"props": [
19
+
{
20
+
"name": "delay",
21
+
"type": "'short' | 'long' | number",
22
+
"description": "Controls whether and how long to delay rendering the SkeletonBox. Set to 'short' to delay by 300ms, 'long' to delay by 1000ms, or provide a custom number of milliseconds.",
@@ -10,12 +10,33 @@ export type SkeletonBoxProps = {
10
10
width?: CSSProperties['width']
11
11
/** The className of the skeleton box */
12
12
className?: string
13
+
/** Controls whether and how long to delay rendering the SkeletonBox. Set to 'short' to delay by 300ms, 'long' to delay by 1000ms, or provide a custom number of milliseconds.*/
Copy file name to clipboardExpand all lines: packages/react/src/Spinner/Spinner.docs.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -33,9 +33,9 @@
33
33
},
34
34
{
35
35
"defaultValue": "false",
36
-
"description": "Whether to delay the spinner before rendering by the defined 1000ms.",
36
+
"description": "Controls whether and how long to delay rendering the spinner. Set to `true` to delay by 1000ms, `'short'` to delay by 300ms, `'long'` to delay by 1000ms, or provide a custom number of milliseconds.",
0 commit comments