Wrapping component to show/hide UI based on UIFeature setting (#7585)
* add wrapping component for hiding UI Signed-off-by: Kerry Archibald <kerrya@element.io> * rename and move to components Signed-off-by: Kerry Archibald <kerrya@element.io> * prefix interface and add missing copyright Signed-off-by: Kerry Archibald <kerrya@element.io> * remove roomId prop Signed-off-by: Kerry Archibald <kerrya@element.io>
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`<UiFeatureSettingWrapper> renders children when setting is truthy 1`] = `
|
||||
<UiFeatureSettingWrapper
|
||||
uiFeature="UIFeature.flair"
|
||||
>
|
||||
<div>
|
||||
test
|
||||
</div>
|
||||
</UiFeatureSettingWrapper>
|
||||
`;
|
||||
Reference in New Issue
Block a user