1 | import * as React from "react";
|
2 | import { BoxProps } from "../Box";
|
3 | import { IRadio } from "../Radio";
|
4 | import { Omit } from "../common-types";
|
5 |
|
6 | export interface IRadioButtonGroup {
|
7 | name?: IRadio["name"];
|
8 | children?: React.ReactNode;
|
9 | defaultValue?: IRadio["value"];
|
10 | value?: IRadio["value"];
|
11 | onChange?: (value: IRadio["value"]) => void;
|
12 | spacing?: BoxProps["margin"];
|
13 | isInline?: boolean;
|
14 | }
|
15 |
|
16 | export type RadioButtonGroupProps = IRadioButtonGroup &
|
17 | Omit<BoxProps, "onChange">;
|
18 |
|
19 | declare const RadioButtonGroup: React.FC<RadioButtonGroupProps>;
|
20 | export default RadioButtonGroup;
|