10 Commits

Author SHA1 Message Date
Dawid
29f21bc029 feat: Implements radio group component. (#214)
* feat: Implements radio group component.

* Removes stylesheet import and change flow props types.

* Feat: Change RadioGroup to pass props using context.

* Feat: Adds example.

* Fix flow errors in withRadioGroup component.

* feat: Add docs to withRadioGroup component.

* feat: Add comment to withRadio prop.

* Change RadioGroup to use create-react-context.

* refactor: small changes in radioGroup component api.
2018-03-16 00:45:29 +01:00
Satyajit Sahoo
38bfe108ca docs: fix spacing in radio button example 2018-02-06 08:26:23 +01:00
Satyajit Sahoo
bb51586351 chore: upgrade flow and dependencies (#200) 2017-11-07 11:21:17 +01:00
Ahmed Elhanafy
8adfa6751e feat: Dark Theme (#131)
* refactor: Add DarkTheme, new colors in theme & update components to use it

* chore: Remove 'console.log' statements

* chore: Change dark theme property from string to boolean

* feat: Add ability to toggle the theme from the drawer

* fix: Wrap typography example screen with 'withTheme'

* style: Update components to use correct dark theme colors

* style: Update dark theme primary color and rn-navigation toolbar now gets the color from the theme

* style: Add color prop to DrawerItem and update the example

* style: Change the unchecked color in both Checkbox and RadioButton

* chore: Add `yarn-error.log` to `.gitignore`

* chore: Use lodash instead of lodash.merge

* chore: Address PR comments
2017-10-13 15:29:28 +02:00
Luke Walczak
f201e1f7ea feat: Controls adaptation to IOS (#155)
* feat: checkbox ios adaptation

* feat: switch component

* feat: radio button ios adaptation

* feat: refactor control components
2017-10-02 14:59:06 +02:00
Satyajit Sahoo
ebada8fd6d chore: setup prettier 2017-05-18 17:55:53 +05:30
Satyajit Sahoo
ba6ee19eb5 feat: add checkbox and radio animations on Android (#89)
Border animations aren't very nice on iOS, so I disabled animations on iOS for now. Let's add animations when we find a better way.
Also native animations don't support borders as of now, so can't enables native animations either, probably can enable in future
2016-11-29 02:36:41 +02:00
Ahmed Elhanafy
0a73f77f2b Revert "Revert "Add radio and check buttons"" 2016-11-13 21:41:16 +02:00
Ahmed Elhanafy
47efa8eb86 Revert "Add radio and check buttons" 2016-11-13 21:25:35 +02:00
Satyajit Sahoo
eeb8210ab9 feat: add <RadioButton /> component. fixes #13 2016-11-13 23:50:58 +05:30