mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-20 00:11:50 +00:00
refactor(ui): drop JSDoc example from DocsMenu
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
ce1a8340c7
commit
8d760679f6
1 changed files with 0 additions and 12 deletions
|
|
@ -12,18 +12,6 @@ interface DocsMenuProps {
|
|||
className?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* A dropdown menu for multiple documentation links.
|
||||
* Linear-style: Single "Docs" button that expands to show multiple relevant links.
|
||||
*
|
||||
* @example
|
||||
* <DocsMenu items={[
|
||||
* { label: "Custom pricing for models", href: "https://docs.litellm.ai/docs/proxy/custom_pricing" },
|
||||
* { label: "Spend tracking", href: "https://docs.litellm.ai/docs/proxy/cost_tracking" }
|
||||
* ]}>
|
||||
* Docs
|
||||
* </DocsMenu>
|
||||
*/
|
||||
export const DocsMenu: React.FC<DocsMenuProps> = ({ items, children = "Docs", className = "" }) => {
|
||||
const [isOpen, setIsOpen] = useState(false);
|
||||
const menuRef = useRef<HTMLDivElement>(null);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue