import { FunctionalComponent } from 'preact'; interface IProps { isReloading: boolean; reloadStatus: () => void; } export const OfflineRestricted: FunctionalComponent = ({ isReloading, reloadStatus, }) => { return (
You have restricted this component to be used offline only.
Offline components are not available in the web application.
You can either:
  • Enable the Hosted option for this component by opening Preferences {'>'} General {'>'} Advanced Settings menu and{' '} toggling 'Use hosted when local is unavailable' under this components's options. Then press Reload below.
  • Use the desktop application.
{isReloading ? (
) : ( )}
); };