@mujo/plugins
v2.2.0
Published
A set of utilities to create plugins in Mujo
Downloads
43
Readme
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