UNPKG

@storybook/addon-ondevice-controls

Version:

Display storybook controls on your device.

21 lines (20 loc) 581 B
import { ControlTypes } from '../sharedTypes'; export interface RadioProps { arg: { type: ControlTypes; name: string; value: string; options?: Array<any> | Record<string, any>; control?: { options?: Array<any> | Record<string, any>; labels?: Array<string>; }; }; onChange: (value: any) => void; } declare const RadioType: { ({ onChange, arg }: RadioProps): import("react/jsx-runtime").JSX.Element; serialize(value: any): any; deserialize(value: any): any; }; export default RadioType;