Wrong name
Summary: MaskedViewIOS instead of MaskedView Closes https://github.com/facebook/react-native/pull/16135 Differential Revision: D5942428 Pulled By: shergin fbshipit-source-id: 44e771d9a318c66c8721775bcaf8506eb0fbbecd
This commit is contained in:
parent
4162d73ec0
commit
a004e2b77c
|
@ -33,12 +33,12 @@ type Props = ViewProps & {
|
|||
*
|
||||
* ```
|
||||
* import React from 'react';
|
||||
* import { MaskedView, Text, View } from 'react-native';
|
||||
* import { MaskedViewIOS, Text, View } from 'react-native';
|
||||
*
|
||||
* class MyMaskedView extends React.Component {
|
||||
* render() {
|
||||
* return (
|
||||
* <MaskedView
|
||||
* <MaskedViewIOS
|
||||
* style={{ flex: 1 }}
|
||||
* maskElement={
|
||||
* <View style={styles.maskContainerStyle}>
|
||||
|
@ -49,7 +49,7 @@ type Props = ViewProps & {
|
|||
* }
|
||||
* >
|
||||
* <View style={{ flex: 1, backgroundColor: 'blue' }} />
|
||||
* </MaskedView>
|
||||
* </MaskedViewIOS>
|
||||
* );
|
||||
* }
|
||||
* }
|
||||
|
|
Loading…
Reference in New Issue