import clsx from "clsx" import { Badge, capitalize } from "docs-ui" export type MethodLabelProps = { method: string className?: string } const MethodLabel = ({ method, className }: MethodLabelProps) => { return ( {method === "delete" ? "Del" : capitalize(method)} ) } export default MethodLabel