@moraby/app-launcher 2.0.1 → 2.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +6 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -104,6 +104,10 @@ function AdminLauncher() {
104
104
 
105
105
  return (
106
106
  <>
107
+ {/*
108
+ IMPORTANT: 'renderFooter' is required to show the Settings button!
109
+ Without it, the launcher will just show the apps list (which might be empty).
110
+ */}
107
111
  <AppLauncher
108
112
  apps={apps}
109
113
  renderFooter={() => <button onClick={() => setShowSettings(true)}>Settings</button>}
@@ -124,6 +128,8 @@ function AdminLauncher() {
124
128
  }
125
129
  ```
126
130
 
131
+ **Note:** If you forget `renderFooter`, there will be no button to open the settings!
132
+
127
133
  ## Configuration JSON Format
128
134
 
129
135
  Export your configuration from the admin app and host it as a JSON file:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moraby/app-launcher",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "A Google-style app launcher component for React/Next.js applications",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",