From a85b434a75e7d1606bbd22148c1cfc795d3064e1 Mon Sep 17 00:00:00 2001 From: Limon Monte Date: Tue, 17 Jul 2018 19:51:53 +0900 Subject: [PATCH] Add Installation and Usage instructions (#155) --- README.md | 30 +++++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 8eef03e0..25baa6c5 100644 --- a/README.md +++ b/README.md @@ -5,9 +5,33 @@ The logos have a 512x512 viewbox, they will fit in a circle with radius 256. The Say thanks! -* Gift me something from my Amazon Wishlist -* Send me a tip -* Leave me a message +* Gift me something from my Amazon Wishlist +* Send me a tip +* Leave me a message + +## Installation + +```sh +npm install --save super-tiny-icons +``` + +## Usage + +The old-school way: + +```html + +``` + +The modern way, the React (JSX) example: + +```jsx +import logo from 'super-tiny-icons/images/svg/github.svg'; + + +``` + +The demo repository bootstrapped with `create-react-app`: [create-react-app-super-tiny-icons](https://github.com/limonte/create-react-app-super-tiny-icons) ## How Small?