From a7f24c5f63a0ea171a14cb70693b270671b4100f Mon Sep 17 00:00:00 2001 From: Sergey Korolev Date: Sun, 19 Jul 2026 22:17:19 +0300 Subject: [PATCH] Drop the Vite tooling note from the Button page Build trivia in the middle of a component reference, and it asked nothing of the reader: pasting the .tsx file works with no configuration either way. --- docs/components/button.md | 4 ---- 1 file changed, 4 deletions(-) diff --git a/docs/components/button.md b/docs/components/button.md index e47c570..4964d57 100644 --- a/docs/components/button.md +++ b/docs/components/button.md @@ -56,10 +56,6 @@ function Article({ onSave }) { | `onTap` | `() => void` | — | Called on every tap | | `children` | `ReactNode` | — | Web fallback, rendered only in a browser | -The file is TypeScript. Vite compiles `.tsx` with no configuration change, even -in a project that is otherwise plain `.jsx` — types are stripped by esbuild. -Without `typescript` and a `tsconfig.json` they are not checked, only removed. - ## iOS side Add this file to your Xcode project: