Skip to content

Commit

Permalink
Inline ContextFromPropsKey
Browse files Browse the repository at this point in the history
  • Loading branch information
NMinhNguyen committed Dec 27, 2019
1 parent ffdde57 commit 83a205e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/material-ui/src/RadioGroup/useRadioGroup.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import { RadioGroupProps } from './RadioGroup';
// shut off automatic exporting
export {};

type ContextFromPropsKey = 'name' | 'onChange' | 'value';

export interface RadioGroupState extends Pick<RadioGroupProps, ContextFromPropsKey> {}
export interface RadioGroupState extends Pick<RadioGroupProps, 'name' | 'onChange' | 'value'> {}

export default function useRadioGroup(): RadioGroupState;

0 comments on commit 83a205e

Please sign in to comment.