Demos
Direct properties
This is visible
<Visibility visible={true}>This is visible</Visibility>
False (not visible)
<Visibilityvisible={{foo: 'foo',}.foo === 'bar'}>This is not visible</Visibility>
Based on DataContext
This will show, as long as `toBe` is true.
<DataContext.Context.Providervalue={{...defaultContextState,data: {toBe: true,notToBe: false,},}}><Visibility pathTrue="/toBe"><p>This will show, as long as `toBe` is true.</p></Visibility><Visibility pathTrue="/notToBe"><p>This will not show until `notToBe` is true.</p></Visibility></DataContext.Context.Provider>