({
Component = 'div',
defaultProps,
mapValueToProps = () => ({}),
overrideProps,
autoGenerateKey,
value,
})
| 12 | * Returns the result of a shorthand factory. |
| 13 | */ |
| 14 | const getShorthand = ({ |
| 15 | Component = 'div', |
| 16 | defaultProps, |
| 17 | mapValueToProps = () => ({}), |
| 18 | overrideProps, |
| 19 | autoGenerateKey, |
| 20 | value, |
| 21 | }) => |
| 22 | createShorthand(Component, mapValueToProps, value, { |
| 23 | defaultProps, |
| 24 | overrideProps, |
| 25 | autoGenerateKey, |
| 26 | }) |
| 27 | |
| 28 | // ---------------------------------------- |
| 29 | // Common tests |
no test coverage detected
searching dependent graphs…