UNPKG

1.27 kBTypeScriptView Raw
1import { IButtonProps as IBPButtonProps } from '@blueprintjs/core/lib/cjs/components/button/buttons';
2import { ICollapseProps } from '@blueprintjs/core/lib/cjs/components/collapse/collapse';
3import { ICheckboxProps } from '@blueprintjs/core/lib/cjs/components/forms/controls';
4import { IInputGroupProps as IBPInputGroupProps } from '@blueprintjs/core/lib/cjs/components/forms/inputGroup';
5import { ISelectProps } from '@blueprintjs/select/lib/cjs/components/select/select';
6import * as React from 'react';
7export { Intent } from '@blueprintjs/core/lib/cjs/common/intent';
8interface IButtonProps extends IBPButtonProps {
9 title?: string;
10 type?: 'button' | 'submit' | 'reset';
11}
12interface IInputGroupProps extends IBPInputGroupProps {
13 rightIcon?: string;
14}
15declare type CommonProps<T> = React.DOMAttributes<T>;
16export declare const Button: (props: IButtonProps & CommonProps<any>) => JSX.Element;
17export declare const InputGroup: (props: IInputGroupProps & CommonProps<any>) => JSX.Element;
18export declare const Collapse: (props: ICollapseProps & CommonProps<any>) => JSX.Element;
19export declare const Select: (props: ISelectProps<any> & CommonProps<any>) => JSX.Element;
20export declare const Checkbox: (props: ICheckboxProps & CommonProps<any>) => JSX.Element;