From ed2f4dd91cdbf7db4c4d10097528ef228bf3f44c Mon Sep 17 00:00:00 2001 From: Ayush Gupta Date: Tue, 29 Sep 2020 23:08:18 +0530 Subject: [PATCH] ADDED Documentation for medium and large props --- components/icon.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/components/icon.md b/components/icon.md index facf01f..c4e635f 100644 --- a/components/icon.md +++ b/components/icon.md @@ -1,5 +1,5 @@ # Icon -Icons are used as a visual indicator to describe an action the user could take. That little Facebook icon never looked better. +Icons are used as a visual indicator to describe an action the user could take. That little Facebook icon never looked better. ### Usage Imports: @@ -20,6 +20,8 @@ Simple example: | family | string | null | Choose your Icon's family from the same list | | size | number | theme.SIZES.BASE | This sets your Icon's size | | color | string | theme.COLORS.BLACK | This sets your Icon's color | +| medium | boolean | false | Sets icon size to theme.SIZES.ICON_MEDIUM. Overridden by size prop. | +| large | boolean | false | Sets icon size to theme.SIZES.ICON_LARGE. Overridden by medium & size prop. | -*We're grateful to use the icon sets from [react-native-vector-icons](https://github.com/oblador/react-native-vector-icons). You can find the full list of icons they've prepared for React Native [here](https://oblador.github.io/react-native-vector-icons/).* \ No newline at end of file +*We're grateful to use the icon sets from [react-native-vector-icons](https://github.com/oblador/react-native-vector-icons). You can find the full list of icons they've prepared for React Native [here](https://oblador.github.io/react-native-vector-icons/).*