TeaSpeak-Client/imports/shared-app/ui/react-elements/ContextDivider.d.ts
2021-02-20 18:55:36 +01:00

26 lines
753 B
TypeScript

import * as React from "react";
export interface ContextDividerProperties {
id: string;
direction: "vertical" | "horizontal";
defaultValue: number;
separatorClassName?: string;
separatorActiveClassName?: string;
children?: never;
}
export interface ContextDividerState {
active: boolean;
}
export declare class ContextDivider extends React.Component<ContextDividerProperties, ContextDividerState> {
private readonly refSeparator;
private readonly listenerMove;
private readonly listenerUp;
private value;
constructor(props: any);
render(): JSX.Element;
componentDidMount(): void;
componentWillUnmount(): void;
private startMovement;
private stopMovement;
private applySeparator;
}