[core] change FeatureFlagState to {On,Off}

This commit is contained in:
Bilawal Hameed
2020-03-30 11:39:15 +02:00
parent d911da26d2
commit 70252160e5
6 changed files with 25 additions and 26 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ const ExampleButton: FC<{}> = () => {
const flags = useApi(featureFlagsApiRef).getFlags();
const handleClick = () => {
flags.set('enable-example-feature', FeatureFlagState.Enabled);
flags.set('enable-example-feature', FeatureFlagState.On);
};
return (