@storybook/addon-ondevice-controls
Version:
Display storybook controls on your device.
16 lines (15 loc) • 460 B
TypeScript
import { ControlTypes } from '../sharedTypes';
export interface SelectProps {
arg: {
name: string;
value: any;
options: Array<any> | Record<string, any>;
control: {
labels?: Record<string, string>;
};
type: ControlTypes;
};
onChange: (value: any) => void;
}
declare const SelectType: ({ arg, onChange }: SelectProps) => import("react/jsx-runtime").JSX.Element;
export default SelectType;