Commit e1365083 authored by Yashu Mittal's avatar Yashu Mittal 👍🏻

Create camelCase filter

parent f5e3f384
export default value => {
console.log(value);
return value.toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (m, chr) => chr.toUpperCase());
}
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment