Simplifie some naming

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner 2021-06-12 12:44:12 +02:00
parent d62f959014
commit 6592839ed6
No known key found for this signature in database
GPG Key ID: 9760693FDD98A790

View File

@ -32,12 +32,12 @@ export enum Tabs {
Windows = "windows",
}
export interface DesktopCapturerSourceIProps {
export interface ExistingSourceIProps {
source: DesktopCapturerSource;
onSelect(source: DesktopCapturerSource): void;
}
export class ExistingSource extends React.Component<DesktopCapturerSourceIProps> {
export class ExistingSource extends React.Component<ExistingSourceIProps> {
constructor(props) {
super(props);
}
@ -62,18 +62,18 @@ export class ExistingSource extends React.Component<DesktopCapturerSourceIProps>
}
}
export interface DesktopCapturerSourcePickerIState {
export interface PickerIState {
selectedTab: Tabs;
sources: Array<DesktopCapturerSource>;
}
export interface DesktopCapturerSourcePickerIProps {
export interface PickerIProps {
onFinished(source: DesktopCapturerSource): void;
}
@replaceableComponent("views.elements.DesktopCapturerSourcePicker")
export default class DesktopCapturerSourcePicker extends React.Component<
DesktopCapturerSourcePickerIProps,
DesktopCapturerSourcePickerIState
PickerIProps,
PickerIState
> {
interval;