From d9a55d03605a02b9463f826b7725bc017a583ecb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D5=A1=D3=84=D5=A1?= Date: Tue, 17 Dec 2024 22:17:11 +0800 Subject: [PATCH] refactor(docs): use onPress event instead (#4353) --- apps/docs/app/examples/modal/placement/page.tsx | 2 +- apps/docs/app/examples/navbar/bordered/page.tsx | 12 +----------- .../app/examples/navbar/controlled-menu/page.tsx | 5 +---- .../app/examples/navbar/custom-active-item/page.tsx | 12 +----------- .../examples/navbar/disable-menu-animation/page.tsx | 5 +---- apps/docs/app/examples/navbar/disabled-blur/page.tsx | 12 +----------- .../docs/app/examples/navbar/hide-on-scroll/page.tsx | 12 +----------- apps/docs/app/examples/navbar/static/page.tsx | 12 +----------- apps/docs/app/examples/navbar/usage/page.tsx | 12 +----------- apps/docs/app/examples/navbar/with-avatar/page.tsx | 5 +---- .../app/examples/navbar/with-dropdown-menu/page.tsx | 5 +---- apps/docs/app/examples/navbar/with-menu/page.tsx | 5 +---- .../app/examples/navbar/with-search-input/page.tsx | 5 +---- apps/docs/components/marketing/install-banner.tsx | 4 ++-- apps/docs/components/marketing/sponsor-item.tsx | 2 +- apps/docs/components/mdx-components.tsx | 2 +- apps/docs/components/sandpack/copy-button.tsx | 2 +- 17 files changed, 18 insertions(+), 96 deletions(-) diff --git a/apps/docs/app/examples/modal/placement/page.tsx b/apps/docs/app/examples/modal/placement/page.tsx index a6f2c3ac9a..ac5f472908 100644 --- a/apps/docs/app/examples/modal/placement/page.tsx +++ b/apps/docs/app/examples/modal/placement/page.tsx @@ -58,7 +58,7 @@ export default function Page() {

-