You can do it using the html-react-parser;
Example:
https://codesandbox.io/s/parsing-html-react-zlmwj
import React, { useState } from "react";
import Parser from "html-react-parser";
import "./styles.css";
export default function App() {
const [options, setOption] = useState(1);
const [listOptions] = useState([
{ id: 1, desc: "4 ¼" },
{ id: 2, desc: "4 ½" },
{ id: 3, desc: "4 ¾" }
]);
function handleSelect(e) {
const selected = e.target.value;
setOption(selected);
}
return (
<div className="App">
<h1>Example parsing html in React</h1>
<select value={options} onChange={e => handleSelect(e)}>
{listOptions.map(option => (
<option key={option.id} value={option.id}>
{Parser(option.desc)}
</option>
))}
</select>
</div>
);
}