Skip to content

Commit

Permalink
docs: explicitly state loader intention
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuaellis committed Feb 3, 2021
1 parent 57a5ef1 commit cdb216b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ Drei currently exports OrbitControls [![](https://img.shields.io/badge/-codesand
<Sphere>
<meshBasicMaterial attach="material" color="hotpink" />
</Sphere>
```
```

#### RoundedBox

Expand Down Expand Up @@ -513,7 +513,7 @@ The rendertarget is automatically disposed when unmounted.
#### Html
[![](https://img.shields.io/badge/-codesandbox-blue)](https://codesandbox.io/s/r3f-suspense-zu2wo) ![](https://img.shields.io/badge/-Dom&nbsp;only-red)
[![](https://img.shields.io/badge/-codesandbox-blue)](https://codesandbox.io/s/r3f-suspense-zu2wo) ![](https://img.shields.io/badge/-Dom only-red)
Allows you to tie HTML content to any object of your scene. It will be projected to the objects whereabouts automatically.
Expand Down Expand Up @@ -825,9 +825,9 @@ const errors = useProgress((state) => state.errors)

#### Loader

![](https://img.shields.io/badge/-Dom&nbsp;only-red)
![](https://img.shields.io/badge/-Dom only-red)

A quick and easy loading overlay component that you can drop on top of your canvas. It will show an animated loadingbar and a percentage.
A quick and easy loading overlay component that you can drop on top of your canvas. It's intended to "hide" the whole app, so if you have multiple suspense wrappers in your application, you should use multiple loaders. It will show an animated loadingbar and a percentage.
```jsx
<Canvas>
Expand Down

0 comments on commit cdb216b

Please sign in to comment.