Skip to content
This repository was archived by the owner on Jun 26, 2022. It is now read-only.

Latest commit

 

History

History

plugins

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Mujō Plugin

This is a set of utilities to create a Mujō plugins. This is a collection of hooks and components that allow you to hook into functionality of Mujō extension without having to modify its source code.

Install

npm i @mujo/plugins

Usage

import { Background, Content, NewTabPage } from '@mujo/plugins'

const MyPlugin = () => (
  <>
    <Background>
      <MyBackgroundScripts />
    </Background>
    <NewTabPage>
      <MyNewTabPage />
    </NewTabPage>
    <Content>
      <MyContentScripts />
    </Content>
  </>
)

export default MyPlugin