frc-ui
Version:
React Web UI
36 lines (35 loc) • 1.06 kB
TypeScript
import React from 'react';
import { Locale } from './Custom';
import { EmojiType } from './types';
interface TabsProps {
show: boolean;
onHide?: Function;
locale?: Locale;
collectEmo?: Function;
messageKey?: string;
onChange?: Function;
x?: number;
y?: number;
customEmo?: Array<string>;
defaultEmo?: Array<string>;
}
interface TabsState {
tab: string;
}
declare class Tabs extends React.PureComponent<TabsProps, TabsState> {
static defaultProps: {
locale: {
back: string;
edit: string;
};
};
constructor(props: TabsProps);
handleChange: (tab: string) => (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
handleHidden: (event: React.MouseEvent<HTMLDivElement, MouseEvent>) => void;
handleSendFile: (files?: File[] | undefined) => void;
handleClick: (emo: EmojiType) => void;
handleStop: (event: React.MouseEvent<HTMLDivElement>) => void;
renderChildren: () => JSX.Element;
render(): JSX.Element;
}
export default Tabs;