@storybook/addon-ondevice-controls
Version:
Display storybook controls on your device.
18 lines (17 loc) • 489 B
TypeScript
import { ArgType } from './ControlsPanel';
import { ControlTypes } from './sharedTypes';
export interface Knob {
name: string;
label: string;
value: any;
hideLabel: boolean;
type: ControlTypes;
groupId?: string;
}
interface PropFieldProps {
onChange: (value: any) => void;
arg: ArgType;
isPristine: boolean;
}
declare const PropField: ({ onChange, arg, isPristine }: PropFieldProps) => import("react/jsx-runtime").JSX.Element;
export default PropField;