@apiwiz/apiwiz-catalog-library 2.0.0 → 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.
package/README.md CHANGED
@@ -79,6 +79,7 @@ import { ApiwizCatalog, MODULE_TYPE, COMPONENT_TYPE, APP_THEME_OPTION } from "@a
79
79
  selectedMethod={selectedOperation.apiMethod}
80
80
  selectedPath={selectedOperation.endpoint}
81
81
  componentType={COMPONENT_TYPE.CATALOG}
82
+ bottomBar={<MyBottomBar />}
82
83
  layoutStyles={{
83
84
  width: "100%",
84
85
  height: "100vh",
@@ -102,6 +103,7 @@ const ApiwizCatalog = dynamic(
102
103
  selectedMethod={selectedOperation.apiMethod}
103
104
  selectedPath={selectedOperation.endpoint}
104
105
  componentType={COMPONENT_TYPE.CATALOG}
106
+ bottomBar={<MyBottomBar />}
105
107
  layoutStyles={{
106
108
  width: "100%",
107
109
  height: "100vh",
@@ -128,6 +130,7 @@ interface ApiwizCatalogProps {
128
130
  swaggerData?: object;
129
131
  selectedMethod?: string;
130
132
  selectedPath?: string;
133
+ bottomBar?: React.ReactElement | React.ComponentType;
131
134
  }
132
135
  ```
133
136
 
@@ -147,6 +150,7 @@ interface ApiwizCatalogProps {
147
150
  | `swaggerData` | `object` | OAS JSON object (for Catalog) |
148
151
  | `selectedMethod` | `string` | Selected HTTP method (e.g., "GET") |
149
152
  | `selectedPath` | `string` | Selected API endpoint path |
153
+ | `bottomBar` | `React.ReactElement \| React.ComponentType` | Bottom bar component to render at the end of center content |
150
154
 
151
155
  ---
152
156
 
@@ -186,4 +190,3 @@ export const COMPONENT_TYPE = {
186
190
  MIT © Apiwiz
187
191
 
188
192
  ---
189
-