From 6d49b22494f10ef21702a41c374247737f617298 Mon Sep 17 00:00:00 2001 From: Cedcn Date: Thu, 1 Sep 2016 23:34:10 +0800 Subject: [PATCH] edit README --- README.md | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index f055ef2..6bd8842 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ #dragresize --- A ReactJS component to render a dragresize layer. -###Installation ------ +##Installation Install dragresize with [npm](https://www.npmjs.com/): ``` @@ -15,15 +13,12 @@ For [CommonJS](http://wiki.commonjs.org/wiki/CommonJS) users: import Dragresize from 'dragresize'; ``` -###Example ------ - -npm install; - -npm start; - -###Props ------ +##Example +Run: +```console +$ npm install; npm start +``` +##Props | Name | Type | default | Description | | --- | --- | --- | --- |