pub fn convert_to_react(ctx: String, component_name: String) -> String
convert props to a react component