From acf52a26cffea6f3d0d0e3ec512aff1da341f0ba Mon Sep 17 00:00:00 2001 From: Nader Dabit Date: Tue, 13 Sep 2016 18:05:26 -0500 Subject: [PATCH] fixed border-radius on avatar, added more configuration to button icons --- Readme.MD | 14 ++++++++++++-- package.json | 2 +- src/buttons/Button.js | 20 +++++++++++++++++--- src/checkbox/CheckBox.js | 28 +--------------------------- src/helpers/getIconType.js | 31 +++++++++++++++++++++++++++++++ src/list/ListItem.js | 2 +- 6 files changed, 63 insertions(+), 34 deletions(-) create mode 100644 src/helpers/getIconType.js diff --git a/Readme.MD b/Readme.MD index 9ce5b1aa8a..457006aea4 100644 --- a/Readme.MD +++ b/Readme.MD @@ -94,7 +94,7 @@ To override the fontFamily in any element, simply provide a fontFamily prop: ## Buttons -Buttons take a title and an optional [material icon name](https://design.google.com/icons/), as well as the props below. +Buttons take a title and an optional [material icon name](https://design.google.com/icons/), as well as the props below. You can override Material icons with one of the following: zocial, font-awesome, octicon, ionicon, foundation, evilicon, or entypo by passing in an icon.type as a prop. ![Buttons](http://i.imgur.com/jeXZSMC.png) @@ -115,6 +115,16 @@ import { Button } from 'react-native-elements' icon={{name: 'code'}} title='SMALL WITH RIGHT ICON' /> +