Skip to content

Commit

Permalink
update README with information about how to use static images
Browse files Browse the repository at this point in the history
  • Loading branch information
drapanjanas committed Jan 17, 2016
1 parent 91b0d08 commit b7c9e79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,9 @@ NOTE: if you mistyped something, or no longer use the component and would like t
please, manually open .re-natal file and fix it there (its just a list of names in json format, so should be straight forward)

## Static Images
Since version 0.14 React Native supports a [Unified way of referencing static images](https://facebook.github.io/react-native/docs/images.html)
Since version 0.14 React Native supports a [unified way of referencing static images](https://facebook.github.io/react-native/docs/images.html)

In Re-Natal skeleton images are stored in "images" directory. Place your images and reference them from cljs code:
In Re-Natal skeleton images are stored in "images" directory. Place your images there and reference them from cljs code:
```clojure
(def my-img (js/require "./images/my-img.png"))
```
Expand Down

0 comments on commit b7c9e79

Please sign in to comment.