-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document usage of the three components
- Loading branch information
Kristofer Selbekk
committed
Dec 18, 2017
1 parent
5ea3ee4
commit 59e1038
Showing
6 changed files
with
45 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Inline spinner | ||
|
||
Brukes inline med tekst eller små komponenter for å vise at man venter på ekstern data. Et | ||
eksempel kan være en nedtrekksliste som henter valgene sine fra en server. | ||
|
||
```js | ||
<InlineSpinner /> Vennligst vent litt | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Stor inline spinner | ||
|
||
Brukes med større komponenter for å vise at man venter på ekstern data. Et | ||
eksempel kan være en graf som venter på data fra en server før den kan rendres. | ||
|
||
```js | ||
<LargeSpinner>Vennligst vent litt</LargeSpinner> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Spinner | ||
|
||
En selvstendig komponent for å vise at man venter på innholdet siden avhenger av. | ||
|
||
```js | ||
<Spinner /> | ||
``` | ||
|
||
Den kan ha en tekst under seg som forklarer ventetiden: | ||
|
||
```js | ||
<Spinner>Kalkulerer pris...</Spinner> | ||
``` | ||
|
||
Den kan være venstrestilt: | ||
|
||
```js | ||
<Spinner center={false} /> | ||
``` | ||
|
||
Den kan være stor: | ||
|
||
```js | ||
<Spinner large={true} /> | ||
``` |