Skip to content

Commit 45f29d9

Browse files
committed
Create spinner-lockup.md
1 parent c2e1715 commit 45f29d9

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.changeset/spinner-lockup.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
'@leafygreen-ui/loading-indicator': minor
3+
---
4+
5+
Adds `SpinnerLockup` component to correctly align a Spinner and description text
6+
7+
```tsx
8+
<SpinnerLockup direction="horizontal">
9+
<SpinnerLockup.Spinner
10+
size={'default'}
11+
/>
12+
<SpinnerLockup.Description>Loading...</SpinnerLockup.Description>
13+
</SpinnerLockup>
14+
```

0 commit comments

Comments
 (0)