Skip to content

Commit 198e835

Browse files
rtl docs
1 parent c07f84c commit 198e835

File tree

2 files changed

+16
-7
lines changed

2 files changed

+16
-7
lines changed

docs/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,14 @@
1010
</template>
1111
</color-switch>
1212

13+
Now with "RTL" option
14+
15+
<color-switch>
16+
<template slot-scope="props">
17+
<vcl-facebook :primary="props.primary" :secondary="props.secondary" rtl></vcl-facebook>
18+
</template>
19+
</color-switch>
20+
1321
## License
1422

1523
This project is licensed under the MIT license. See the [LICENSE file](https://github.com/LucasLeandro1204/vue-content-loading/blob/master/LICENSE) for more details.

docs/guide.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,14 @@ Now you can use it just like you use any other vue component =)
4242

4343
All presets accept the props below, but they *may* have other custom props
4444

45-
| Prop | Type | Default | Description |
46-
|:---------:|:------:|:-------:|:----------------:|
47-
| speed | Number | 2 | Animation speed |
48-
| width | Number | 400 | Width component |
49-
| height | Number | 150 | Height component |
50-
| primary | String | #f0f0f0 | SVG Background |
51-
| secondary | String | #e0e0e0 | Animation color |
45+
| Prop | Type | Default | Description |
46+
|:---------:|:-------:|:-------:|:----------------:|
47+
| rtl | Boolean | false | RTL version |
48+
| speed | Number | 2 | Animation speed |
49+
| width | Number | 400 | Width component |
50+
| height | Number | 150 | Height component |
51+
| primary | String | #f0f0f0 | SVG Background |
52+
| secondary | String | #e0e0e0 | Animation color |
5253

5354
Color props are required to be *HEX* with a proper pound sign ('#') as its prefix.
5455

0 commit comments

Comments
 (0)