,
textOptions: T.TextOptions,
center?: boolean,
noBorder?: boolean,
}) {
const [version, setVersion] = useState(0);
useEffect(() => setVersion(0), [item]);
function advanceVersion() {
setVersion((version + 1) % item.length);
}
const w = item[version] || item[0];
return (
{item.length > 1 &&
}
|
);
}
export default TableCell;