UNPKG

964 BTypeScriptView Raw
1import * as React from "react";
2import { AbstractPureComponent2 } from "../../common";
3import { HTMLDivProps, IElementRefProps, Props } from "../../common/props";
4export declare type ControlGroupProps = IControlGroupProps;
5/** @deprecated use ControlGroupProps */
6export interface IControlGroupProps extends Props, HTMLDivProps, IElementRefProps<HTMLDivElement> {
7 /** Group contents. */
8 children?: React.ReactNode;
9 /**
10 * Whether the control group should take up the full width of its container.
11 *
12 * @default false
13 */
14 fill?: boolean;
15 /**
16 * Whether the control group should appear with vertical styling.
17 *
18 * @default false
19 */
20 vertical?: boolean;
21}
22/**
23 * Control group component.
24 *
25 * @see https://blueprintjs.com/docs/#core/components/control-group
26 */
27export declare class ControlGroup extends AbstractPureComponent2<ControlGroupProps> {
28 static displayName: string;
29 render(): JSX.Element;
30}