UNPKG

547 BTypeScriptView Raw
1import React from 'react';
2export interface WidgetProps extends React.HTMLAttributes<HTMLDivElement> {
3 focused?: boolean;
4 open?: boolean;
5 dropUp?: boolean;
6 autofilling?: boolean;
7 disabled?: boolean;
8 readOnly?: boolean;
9}
10export declare function useWidgetProps(props: WidgetProps): {
11 tabIndex: number;
12 'data-intent': string;
13 className: string;
14};
15declare const Widget: React.ForwardRefExoticComponent<WidgetProps & React.RefAttributes<HTMLDivElement>>;
16export default Widget;
17//# sourceMappingURL=Widget.d.ts.map
\No newline at end of file