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