UNPKG

matrix-react-sdk

Version:
18 lines (17 loc) 681 B
import React from "react"; import { LocalNotificationSettings } from "matrix-js-sdk/src/matrix"; import { ExtendedDevice } from "./types"; interface Props { device?: ExtendedDevice; isLoading: boolean; isSigningOut: boolean; localNotificationSettings?: LocalNotificationSettings; otherSessionsCount: number; setPushNotifications: (deviceId: string, enabled: boolean) => Promise<void>; onVerifyCurrentDevice: () => void; onSignOutCurrentDevice: () => void; signOutAllOtherSessions?: () => void; saveDeviceName: (deviceName: string) => Promise<void>; } declare const CurrentDeviceSection: React.FC<Props>; export default CurrentDeviceSection;