An accessibility extension to websites.
Install my-project with npm
npm install negishut
import negishut from "negishut";
function App() {
negishut();
return <Component />;
}
"use client";
import negishut from "negishut";
import { useEffect } from "react";
function Accessibility() {
useEffect(() => {
negishut();
}, []);
return <></>;
}
import { setLang } from "negishut";
function ChangeLang() {
return (
<div>
<button
onClick={() => {
setLang("he");
}}
>
hebrew
</button>
<button
onClick={() => {
setLang("en");
}}
>
english
</button>
</div>
);
}