Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 | 62x 62x 9540x | import { useLocalStorage } from "usehooks-ts";
// Add feature flags here and the FeatureFlagCommands component will automatically create commands to toggle them on and off. Remember to remove any feature flags before they are released to all users.
export enum FeatureFlag {
CUSTOM_PROPERTY_PACKAGES = "custom_property_packages",
}
export function useFeatureFlag(flag: FeatureFlag) {
return useLocalStorage(flag, false);
}
|