Skip to content

brachya/accessibilityExt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Title

An accessibility extension to websites.

Installation

Install my-project with npm

  npm install negishut

Usage/Examples

import negishut from "negishut";

function App() {
  negishut();
  return <Component />;
}

NextJs

"use client";
import negishut from "negishut";
import { useEffect } from "react";

function Accessibility() {
  useEffect(() => {
    negishut();
  }, []);
  return <></>;
}

Changing Language

import { setLang } from "negishut";

function ChangeLang() {
  return (
    <div>
      <button
        onClick={() => {
          setLang("he");
        }}
      >
        hebrew
      </button>
      <button
        onClick={() => {
          setLang("en");
        }}
      >
        english
      </button>
    </div>
  );
}

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published