Skip to content

Commit bb8f764

Browse files
committed
fix(RadioGroup): TS typing.
1 parent ad12c40 commit bb8f764

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/core/src/components/RadioGroup.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ import {
77
import { Field } from './FieldBase';
88

99
export interface RadioGroupProps
10-
extends BPRadioGroupProps,
10+
extends Omit<BPRadioGroupProps, 'onChange'>,
1111
Omit<FieldConfig, 'component'> {
1212
name: string;
13+
onChange?: (event: React.FormEvent<HTMLInputElement>) => void;
1314
}
1415

1516
interface FieldToRadioGroupProps

0 commit comments

Comments
 (0)