From 59f0c881848e57a5ae78ebf1aa8c6fb99c73b9ea Mon Sep 17 00:00:00 2001 From: Renato Ribeiro Date: Mon, 10 Apr 2017 00:16:44 -0300 Subject: [PATCH] update badges --- README.md | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 9a6ab7f..006cd2d 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,27 @@ -

+![react-sizes](,/logo.png) [![npm](https://img.shields.io/npm/v/react-sizes.svg?style=flat-square)](https://img.shields.io/npm/v/react-sizes.svg) [![npm](https://img.shields.io/npm/dt/react-sizes.svg?style=flat-square)](https://img.shields.io/npm/v/react-sizes.svg) [![GitHub issues](https://img.shields.io/github/issues/renatorib/react-sizes.svg?style=flat-square)](https://github.com/renatorib/react-sizes/issues) [![GitHub stars](https://img.shields.io/github/stars/renatorib/react-sizes.svg?style=flat-square)](https://github.com/renatorib/react-sizes/stargazers) -[![Twitter](https://img.shields.io/twitter/url/https/github.com/renatorib/react-sizes.svg?style=social&style=flat-square)](https://twitter.com/intent/tweet?text=Wow:&url=%5Bobject%20Object%5D) - ---- +[![Twitter](https://img.shields.io/twitter/url/https/github.com/renatorib/react-sizes.svg?style=social&style=flat-square)](https://twitter.com/intent/tweet?url=https://github.com/renatorib/react-sizes) ### Install ``` yarn add react-sizes ``` +or +``` +npm install react-sizes +``` #### What and why. React Sizes is a high-order component with a high performance that transform window sizes (width and height) into props. You can check inside your component, for example, if user's window is less than 480 pixels of width, and add a custom -content. It can be very powerful for when you need to display different content for mobile and desktop. -But it's not limited to this case. Just use that at your needs. +content. + +It can be very powerful for when you need to display different content for mobile and desktop. +But it's not limited to this case. Just use that at your needs. ### Usage