UNPKG

@stoplight/elements-core

Version:

[![docs](https://img.shields.io/badge/API%20Docs-site-green.svg?style=flat-square)](https://meta.stoplight.io/docs/elements) [![license](https://img.shields.io/npm/l/@stoplight/elements?style=flat-square)](./LICENSE)

11 lines (10 loc) • 403 B
import * as React from 'react'; import { ParameterSpec } from './parameter-utils'; interface OperationParametersProps<P extends keyof any = string> { parameters: readonly ParameterSpec[]; values: Record<P, string>; onChangeValue: (parameterName: P, newValue: string) => void; validate?: boolean; } export declare const OperationParameters: React.FC<OperationParametersProps>; export {};