UNPKG

react-voice-search

Version:

React voice search component with audio visualization, speech recognition, and cross-browser support for Web Speech API. SSR-compatible with Next.js.

15 lines (11 loc) 410 B
import { useSuppressHydrationWarning } from "./suppressHydrationWarning"; /** * Custom App component for Next.js Pages Router * This applies hydration warning suppression to the entire app */ function MyApp({ Component, pageProps }) { // Use the hook to suppress hydration warnings from browser extensions useSuppressHydrationWarning(); return <Component {...pageProps} />; } export default MyApp;