{text.split('\n').map((line, index, array) =>
index === array.length - 1 ? line :
{line}
)}
}
export const monthNames = [
'January',
'February',
'March',
'April',
'May',
'June',
'July',
'August',
'September',
'October',
'November',
'December',
];
export function IframeViewer({title, src, fallback, timeout = 5000}) {
// Bottom of iframe is hidden when height is 100%. These values display the entire iframe.
const [contentAvailable, setContentAvailable] = useState(false);
const [loading, setLoading] = useState(true);
const {s} = React.useContext(ThemeContext);
fallback = fallback ||