Comparing version 2.0.8 to 2.0.9
@@ -9,3 +9,3 @@ import * as React from 'react'; | ||
children: React.ReactNode; | ||
}): JSX.Element; | ||
}): React.JSX.Element; | ||
export declare function useFeatures(): FeatureGroup; | ||
@@ -17,4 +17,4 @@ export declare function useFeature(name: string): boolean | FeatureGroup; | ||
render?: React.ReactNode | ((hasFeature: boolean | FeatureGroup) => JSX.Element); | ||
}): JSX.Element | null; | ||
export declare function withFeature(featureName: string): (Component: Function) => (props: React.ComponentProps<any>) => JSX.Element; | ||
}): React.JSX.Element | null; | ||
export declare function withFeature(featureName: string): (Component: Function) => (props: React.ComponentProps<any>) => React.JSX.Element; | ||
export {}; |
{ | ||
"name": "flagged", | ||
"description": "Feature flags for React made easy with hooks, HOC and Render Props", | ||
"version": "2.0.8", | ||
"version": "2.0.9", | ||
"license": "MIT", | ||
@@ -60,3 +60,3 @@ "repository": "https://github.com/sergiodxa/flagged.git", | ||
"@testing-library/jest-dom": "^5.16.4", | ||
"@testing-library/react": "^13.3.0", | ||
"@testing-library/react": "^14.0.0", | ||
"@types/jest": "^28.1.0", | ||
@@ -63,0 +63,0 @@ "@types/react": "^18.0.10", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27891