Skip to content

Commit f50077e

Browse files
committed
Improve README formatting
[skip ci]
1 parent f9a260c commit f50077e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ yarn add react-loading-skeleton
2121
npm install react-loading-skeleton
2222
```
2323

24-
```js
24+
```tsx
2525
import Skeleton from 'react-loading-skeleton'
2626
import 'react-loading-skeleton/dist/skeleton.css'
2727

28-
<Skeleton/> // Simple, single-line loading skeleton
29-
<Skeleton count={5}/> // Five-line loading skeleton
28+
<Skeleton /> // Simple, single-line loading skeleton
29+
<Skeleton count={5} /> // Five-line loading skeleton
3030
```
3131

3232
## Principles

0 commit comments

Comments
 (0)