Added defr macro to declare react components
defr macro now converts dashed-names in props to camelCase