Skip to content

Commit

Permalink
Merge 524fc03 into fd706ca
Browse files Browse the repository at this point in the history
  • Loading branch information
Marvin Frachet committed Jun 4, 2018
2 parents fd706ca + 524fc03 commit d32e241
Show file tree
Hide file tree
Showing 74 changed files with 8,842 additions and 252 deletions.
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,34 @@
[![Coverage Status](https://coveralls.io/repos/github/mfrachet/rn-placeholder/badge.svg?branch=master)](https://coveralls.io/github/mfrachet/rn-placeholder?branch=master)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)


Display some placeholder stuff before rendering your text or media content in React Native.

*Fully compatible with [Expo](https://expo.io/) and [react-native-web](https://github.com/necolas/react-native-web), [see examples](./EXAMPLE.md)*
_Fully compatible with [Expo](https://expo.io/) and [react-native-web](https://github.com/necolas/react-native-web), [see examples](./EXAMPLE.md)_

_New documentation available [mfrachet.github.io/rn-placeholder](https://mfrachet.github.io/rn-placeholder/)_

*New documentation available [mfrachet.github.io/rn-placeholder](https://mfrachet.github.io/rn-placeholder/)*
---

------
<p align="center">
<img height="270" src="https://img4.hostingpics.net/pics/221859android.gif" />
<img height="270" src="https://img4.hostingpics.net/pics/197702shineanimation.gif" />
<img height="270" src="https://img15.hostingpics.net/pics/449888rnweb.gif" />
<img height="270" src="./book/placeholder.gif" />
<img height="270" src="./book/shine.gif" />
</p>

------
---

# Content

- <a href="#usage">How to use it ?</a>
- [Components available](./API.md)
- [Creating a custom component](./API.md#custom)
- [Using default animations](./ANIMATIONS.md#default)
- [Using a custom animation](./ANIMATIONS.md#custom)
- [Examples from React Native, Expo or React Native Web](./EXAMPLE.md)
* <a href="#usage">How to use it ?</a>
* [Components available](./API.md)
* [Creating a custom component](./API.md#custom)
* [Using default animations](./ANIMATIONS.md#default)
* [Using a custom animation](./ANIMATIONS.md#custom)
* [Examples from React Native, Expo or React Native Web](./EXAMPLE.md)

<h1 name="#usage">Usage</h1>

### Installation

```javascript
$ npm install rn-placeholder --save
```
Expand Down Expand Up @@ -59,4 +59,4 @@ render() {
/*...*/
```

When the value of `this.state.isReady` changes to something *existing*, the `<Text>` component will be rendered
When the value of `this.state.isReady` changes to something _existing_, the `<Text>` component will be rendered
12 changes: 6 additions & 6 deletions book/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@

Display some placeholder stuff before rendering your text or media content in React Native.

*Fully compatible with [Expo](https://expo.io/) and [react-native-web](https://github.com/necolas/react-native-web)*
_Fully compatible with [Expo](https://expo.io/) and [react-native-web](https://github.com/necolas/react-native-web)_

---

------
<p align="center">
<img height="240" src="https://img4.hostingpics.net/pics/221859android.gif" />
<img height="240" src="https://img4.hostingpics.net/pics/197702shineanimation.gif" />
<img height="240" src="https://img15.hostingpics.net/pics/449888rnweb.gif" />
<img height="240" src="./placeholder.gif" />
<img height="240" src="./shine.gif" />
</p>

------
---
Binary file modified book/components/images/imagecontent.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified book/components/images/line.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified book/components/images/media.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified book/components/images/multiwords.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified book/components/images/paragraph.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added book/placeholder.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added book/shine.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit d32e241

Please sign in to comment.