yahoo/jafar

react-components - update components to use toJafar hoc util

Open

#90 opened on Jul 27, 2020

 (0 comments) (1 reaction) (0 assignees)JavaScript (9 forks)auto 404
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (109 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

Update components in @jafar/react-components to use toJafar mapper util As described in https://github.com/yahoo/jafar/issues/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

Contributor guide