Skip to content

Commit 83a205e

Browse files
committed
Inline ContextFromPropsKey
1 parent ffdde57 commit 83a205e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/material-ui/src/RadioGroup/useRadioGroup.d.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import { RadioGroupProps } from './RadioGroup';
44
// shut off automatic exporting
55
export {};
66

7-
type ContextFromPropsKey = 'name' | 'onChange' | 'value';
8-
9-
export interface RadioGroupState extends Pick<RadioGroupProps, ContextFromPropsKey> {}
7+
export interface RadioGroupState extends Pick<RadioGroupProps, 'name' | 'onChange' | 'value'> {}
108

119
export default function useRadioGroup(): RadioGroupState;

0 commit comments

Comments
 (0)