@atlaskit/dropdown-menu
Version:
A dropdown menu displays a list of actions or options to a user.
15 lines (14 loc) • 397 B
TypeScript
import React from 'react';
interface RadioGroupContextProps {
id: string;
radioGroupState: {
[key: string]: boolean | undefined;
};
selectRadioItem: (id: string, value: boolean) => void;
}
/**
* __Radio group context__
* Context provider that wraps each DropdownItemRadioGroup
*/
export declare const RadioGroupContext: React.Context<RadioGroupContextProps>;
export {};