diff --git a/src-web/components/RequestMethodDropdown.tsx b/src-web/components/RequestMethodDropdown.tsx index 2c635b61..91aab2e2 100644 --- a/src-web/components/RequestMethodDropdown.tsx +++ b/src-web/components/RequestMethodDropdown.tsx @@ -4,6 +4,7 @@ import { RadioDropdown } from './core/RadioDropdown'; type Props = { method: string; + className?: string; onChange: (method: string) => void; }; @@ -15,10 +16,11 @@ const methodItems = ['GET', 'PUT', 'POST', 'PATCH', 'DELETE', 'OPTIONS', 'HEAD'] export const RequestMethodDropdown = memo(function RequestMethodDropdown({ method, onChange, + className, }: Props) { return ( - diff --git a/src-web/components/UrlBar.tsx b/src-web/components/UrlBar.tsx index efebe79f..06d32394 100644 --- a/src-web/components/UrlBar.tsx +++ b/src-web/components/UrlBar.tsx @@ -29,7 +29,7 @@ export const UrlBar = memo(function UrlBar({ id: requestId, url, method, classNa ); return ( -
+ } + leftSlot={ + + } rightSlot={ {