mirror of
https://github.com/standardnotes/app.git
synced 2026-01-16 23:01:30 +00:00
27 lines
813 B
TypeScript
27 lines
813 B
TypeScript
import { FunctionalComponent } from 'preact'
|
|
|
|
interface IProps {
|
|
componentName: string
|
|
}
|
|
|
|
export const UrlMissing: FunctionalComponent<IProps> = ({ componentName }) => {
|
|
return (
|
|
<div className={'sn-component'}>
|
|
<div className={'sk-panel static'}>
|
|
<div className={'sk-panel-content'}>
|
|
<div className={'sk-panel-section stretch'}>
|
|
<div className={'sk-panel-section-title'}>
|
|
This extension is missing its URL property.
|
|
</div>
|
|
<p>
|
|
In order to access your note immediately, please switch from {componentName} to the
|
|
Plain Editor.
|
|
</p>
|
|
<br />
|
|
<p>Please contact help@standardnotes.com to remedy this issue.</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|