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: src/components/Loading.mdx
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,41 +1,41 @@
1
1
---
2
-
route: /components/loader
2
+
route: /components/loading
3
3
menu: Utility Components
4
4
---
5
5
6
6
import { Playground, Props } from'docz';
7
-
import { Loader } from'./Loader.tsx';
7
+
import { Loading } from'./Loading.tsx';
8
8
9
-
# Loader
9
+
# Loading
10
10
11
-
Loader simply indicates a loading/pending state, you can use it to manage users expectations during async behaviours or waiting times. Internally it uses the `<Progress />` component to show a circular progress indicator.
11
+
Loading simply indicates a loading/pending state, you can use it to manage users expectations during async behaviours or waiting times. Internally it uses the `<Progress />` component to show a circular progress indicator.
12
12
13
13
> This component is not exposed as `mml` string, it is used internally in other mml components and it can be imported to create your custom ones.
14
14
15
15
## Properties
16
16
17
-
<Propsof={Loader} />
17
+
<Propsof={Loading} />
18
18
19
19
## Basic usage
20
20
21
21
<Playground>
22
-
<Loaderloading={true} />
22
+
<Loadingloading={true} />
23
23
</Playground>
24
24
25
25
## With text
26
26
27
27
<Playground>
28
-
<Loaderloading={true}text="Please wait..." />
28
+
<Loadingloading={true}text="Please wait..." />
29
29
</Playground>
30
30
31
31
## Style customization
32
32
33
33
If your projects include a `sass` compilation step you might customize the overall look and feel of the component through `scss` variables, here are all the available ones with their default values:
0 commit comments