I have to convert a jsx code into a string. But there are parts that jsxToString function doesn\'t take into account. When I try to use map and and if conditions within it I