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)

10 lines (9 loc) • 403 B
import * as React from 'react'; import { ServerVariable } from '../../../utils/http-spec/IServer'; interface ServerVariablesProps<P extends keyof any = string> { variables: readonly ServerVariable[]; values: Record<P, string>; onChangeValue: (op: 'set' | 'unset', variableName: P, newValue: string) => void; } export declare const ServerVariables: React.FC<ServerVariablesProps>; export {};