From 72a2ded8eec9fe9f070bb2100a3e8f84f295719f Mon Sep 17 00:00:00 2001 From: codytseng Date: Wed, 26 Nov 2025 22:20:50 +0800 Subject: [PATCH] docs: add description for responsive menu component in AGENTS.md --- AGENTS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 1e2a67a..4f3c662 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -234,6 +234,10 @@ Properties: - `threshold`: `number` - Height threshold for hiding the tab bar on scroll down. Default is `800`. It should larger than the height of the area above the tab bar. Normally you don't need to change this value. - `options`: `React.ReactNode` - Additional options to display on the right side of the tab bar. +### src/components/ui/responsive-menu.tsx + +A responsive menu component that adapts to screen size. On larger screens, it displays a dropdown menu. On smaller screens, it displays a drawer menu. You can see some usage examples in `src/components/ui/responsive-menu.example.tsx`. + ## Common Modification Scenarios ### Adding a New Component