@nice2dev/admin 1.0.21 → 1.0.23
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/dist/index.d.ts +2 -3
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { default as default_2 } from 'react';
|
|
2
|
-
import { JSX as JSX_2 } from 'react/jsx-runtime';
|
|
3
2
|
|
|
4
3
|
/** Admin notification template. */
|
|
5
4
|
export declare interface AdminNotification {
|
|
@@ -109,7 +108,7 @@ export declare interface FeatureFlag {
|
|
|
109
108
|
* </FeatureGate>
|
|
110
109
|
* ```
|
|
111
110
|
*/
|
|
112
|
-
declare function FeatureGate({ flag, fallback, children }: FeatureGateProps):
|
|
111
|
+
declare function FeatureGate({ flag, fallback, children }: FeatureGateProps): default_2.JSX.Element;
|
|
113
112
|
export { FeatureGate }
|
|
114
113
|
export { FeatureGate as NiceFeatureGate }
|
|
115
114
|
|
|
@@ -373,7 +372,7 @@ export declare interface NiceFeatureFlagsProps {
|
|
|
373
372
|
}
|
|
374
373
|
|
|
375
374
|
/** Provides feature flag configuration to descendant components. */
|
|
376
|
-
export declare function NiceFeatureGateProvider({ config, children }: NiceFeatureGateProviderProps):
|
|
375
|
+
export declare function NiceFeatureGateProvider({ config, children }: NiceFeatureGateProviderProps): default_2.JSX.Element;
|
|
377
376
|
|
|
378
377
|
/** Props for {@link NiceFeatureGateProvider}. */
|
|
379
378
|
export declare interface NiceFeatureGateProviderProps {
|
package/package.json
CHANGED