25 lines
838 B
TypeScript
25 lines
838 B
TypeScript
import { WebApplication } from '@/UIModels/Application'
|
|
import { AppState } from '@/UIModels/AppState'
|
|
import { FunctionComponent } from 'preact'
|
|
import { PreferencesPane } from '@/Components/Preferences/PreferencesComponents'
|
|
import { CloudLink } from './CloudBackups'
|
|
import { DataBackups } from './DataBackups'
|
|
import { EmailBackups } from './EmailBackups'
|
|
import { FileBackups } from './Files/FileBackups'
|
|
|
|
interface Props {
|
|
appState: AppState
|
|
application: WebApplication
|
|
}
|
|
|
|
export const Backups: FunctionComponent<Props> = ({ application, appState }) => {
|
|
return (
|
|
<PreferencesPane>
|
|
<DataBackups application={application} appState={appState} />
|
|
<FileBackups application={application} />
|
|
<EmailBackups application={application} />
|
|
<CloudLink application={application} />
|
|
</PreferencesPane>
|
|
)
|
|
}
|