matrix-react-sdk
Version:
SDK for matrix.org using React
39 lines (38 loc) • 1.27 kB
TypeScript
import React from "react";
interface IProps {
closeSettingsFn(success: boolean): void;
}
interface IState {
timezone: string | undefined;
timezones: string[];
timezoneSearch: string | undefined;
autocompleteDelay: string;
readMarkerInViewThresholdMs: string;
readMarkerOutOfViewThresholdMs: string;
}
export default class PreferencesUserSettingsTab extends React.Component<IProps, IState> {
private static ROOM_LIST_SETTINGS;
private static SPACES_SETTINGS;
private static KEYBINDINGS_SETTINGS;
private static PRESENCE_SETTINGS;
private static COMPOSER_SETTINGS;
private static TIME_SETTINGS;
private static CODE_BLOCKS_SETTINGS;
private static IMAGES_AND_VIDEOS_SETTINGS;
private static TIMELINE_SETTINGS;
private static ROOM_DIRECTORY_SETTINGS;
private static GENERAL_SETTINGS;
constructor(props: IProps);
private onTimezoneChange;
/**
* If present filter the time zones matching the search term
*/
private onTimezoneSearchChange;
private onAutocompleteDelayChange;
private onReadMarkerInViewThresholdMs;
private onReadMarkerOutOfViewThresholdMs;
private renderGroup;
private onKeyboardShortcutsClicked;
render(): React.ReactNode;
}
export {};