1 | /// <reference types="react" />
|
2 | import { AbstractPureComponent2, Alignment } from "../../common";
|
3 | import { HTMLDivProps, Props } from "../../common/props";
|
4 | export declare type ButtonGroupProps = IButtonGroupProps;
|
5 | /** @deprecated use ButtonGroupProps */
|
6 | export interface IButtonGroupProps extends Props, HTMLDivProps {
|
7 | /**
|
8 | * Text alignment within button. By default, icons and text will be centered
|
9 | * within the button. Passing `"left"` or `"right"` will align the button
|
10 | * text to that side and push `icon` and `rightIcon` to either edge. Passing
|
11 | * `"center"` will center the text and icons together.
|
12 | */
|
13 | alignText?: Alignment;
|
14 | /**
|
15 | * Whether the button group should take up the full width of its container.
|
16 | *
|
17 | * @default false
|
18 | */
|
19 | fill?: boolean;
|
20 | /**
|
21 | * Whether the child buttons should appear with minimal styling.
|
22 | *
|
23 | * @default false
|
24 | */
|
25 | minimal?: boolean;
|
26 | /**
|
27 | * Whether the child buttons should appear with large styling.
|
28 | *
|
29 | * @default false
|
30 | */
|
31 | large?: boolean;
|
32 | /**
|
33 | * Whether the button group should appear with vertical styling.
|
34 | *
|
35 | * @default false
|
36 | */
|
37 | vertical?: boolean;
|
38 | }
|
39 | export declare class ButtonGroup extends AbstractPureComponent2<ButtonGroupProps> {
|
40 | static displayName: string;
|
41 | render(): JSX.Element;
|
42 | }
|