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:
parent
6ac3a92513
commit
b481fc069e
3 changed files with 97 additions and 0 deletions
|
@ -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>
|
||||
`;
|
Loading…
Add table
Add a link
Reference in a new issue