MaskView
Masks two views
Preview
Example Usage
<RNSwiftUI.MaskView
optionalSubviews={
<RNSwiftUI.Text font="largeTitle" fontWeight="black">
Hello World
</RNSwiftUI.Text>}
>
<RNSwiftUI.Image imageUrl="https://cdn.pixabay.com/photo/2016/04/22/13/03/path-1345721_1280.jpg" />
</RNSwiftUI.MaskView>
Props
name | type | required | description |
---|---|---|---|
children | React.ReactNode | ✓ | The RNSwiftUI view which should be masked |
optionalSubviews | React.ReactNode | ✓ | The RNSwiftUI view that should be used as a mask |
extends
SwiftUIViewProperties