react native convert camel case to hyphen case code example
Example: camelcase to hyphenated javascript
let dashed = camel.replace(/[A-Z]/g, m => "-" + m.toLowerCase());
let dashed = camel.replace(/[A-Z]/g, m => "-" + m.toLowerCase());