react-motion-components
Version:
components using react & react-motion
19 lines (18 loc) • 507 B
TypeScript
import * as React from 'react';
declare type Props = {
titlebar: {
use: boolean;
title: string;
component: React.ComponentType<any> | null;
height: number;
};
width: number;
isFulling: () => boolean;
toggleWindowSize: () => void;
handleMouseDown: (e: React.MouseEvent<any>) => void;
removeWindow: () => void;
};
declare class TitleBar extends React.Component<Props> {
render(): JSX.Element | null;
}
export default TitleBar;