diff --git a/README.md b/README.md index d01970f..cd99a62 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,16 @@ # components Some components used by @zen-browser and @Floorp-Projects as an attempt to make firefox forks a better place + +## Example usage + +```js +import("chrome://../browser-splitView.mjs").then( + ({ SplitViews }) => { + window.gSplitView = new SplitViews({ + keyIndicator: "zen-splitted", + browserName: "zen", + defaultSplitView: "grid", + }); + } +); +``` \ No newline at end of file diff --git a/src/splitViews.mjs b/src/browser-splitViews.mjs similarity index 100% rename from src/splitViews.mjs rename to src/browser-splitViews.mjs