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)

13 lines (12 loc) • 337 B
import type { IServer } from '@stoplight/types'; import * as React from 'react'; interface ServerInfoProps { servers: IServer[]; mockUrl?: string; } export declare const ServerInfo: React.FC<ServerInfoProps>; export declare function useSplitUrl(url: string): { kind: 'variable' | 'static'; value: string; }[]; export {};