react-components - update components to use toJafar hoc util
galhavivi opened this issue · comments
Update components in @jafar/react-components to use toJafar
mapper util As described in
#86
A good reference -
https://github.com/yahoo/jafar/tree/master/packages/react-components/src/components/edit/Switch
Test
also update tests similar to - https://github.com/yahoo/jafar/blob/master/packages/react-components/src/test/edit/Switch.spec.js
md file - verify demos of the components:
- all examples of the component work as expected
- no console errors or warnings
- description and import with link appear in the top of all examples
- props & methods appear and show correct data - props and default props