1 | import * as React from "react";
|
2 | import * as StyledSystem from "styled-system";
|
3 | import { IButton } from "../Button";
|
4 | import { BoxProps } from "../Box";
|
5 | import { Omit } from "../common-types";
|
6 |
|
7 | export interface IButtonGroup {
|
8 | size?: IButton["size"];
|
9 | color?: string;
|
10 | variant?: IButton["variant"];
|
11 | |
12 |
|
13 |
|
14 |
|
15 | isAttached?: boolean;
|
16 | spacing?: StyledSystem.MarginRightProps["marginRight"];
|
17 | children?: React.ReactNode;
|
18 | }
|
19 |
|
20 | export type ButtonGroupProps = IButtonGroup & Omit<BoxProps, "size">;
|
21 |
|
22 | declare const ButtonGroup: React.FC<ButtonGroupProps>;
|
23 |
|
24 | export default ButtonGroup;
|