Skip to content

Commit

Permalink
rtl docs
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasLeandro1204 committed Jun 1, 2018
1 parent c07f84c commit 198e835
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
8 changes: 8 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@
</template>
</color-switch>

Now with "RTL" option

<color-switch>
<template slot-scope="props">
<vcl-facebook :primary="props.primary" :secondary="props.secondary" rtl></vcl-facebook>
</template>
</color-switch>

## License

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.
15 changes: 8 additions & 7 deletions docs/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,14 @@ Now you can use it just like you use any other vue component =)

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

| Prop | Type | Default | Description |
|:---------:|:------:|:-------:|:----------------:|
| speed | Number | 2 | Animation speed |
| width | Number | 400 | Width component |
| height | Number | 150 | Height component |
| primary | String | #f0f0f0 | SVG Background |
| secondary | String | #e0e0e0 | Animation color |
| Prop | Type | Default | Description |
|:---------:|:-------:|:-------:|:----------------:|
| rtl | Boolean | false | RTL version |
| speed | Number | 2 | Animation speed |
| width | Number | 400 | Width component |
| height | Number | 150 | Height component |
| primary | String | #f0f0f0 | SVG Background |
| secondary | String | #e0e0e0 | Animation color |

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

Expand Down

0 comments on commit 198e835

Please sign in to comment.