1 | // @flow
|
2 | import { type Node, type Element } from 'react';
|
3 | import { ViewPropTypes } from 'react-native';
|
4 |
|
5 | export type MaskedViewProps = typeof ViewPropTypes &
|
6 | $ReadOnly<{|
|
7 | children: Node,
|
8 | /**
|
9 | * Should be a React element to be rendered and applied as the
|
10 | * mask for the child element.
|
11 | */
|
12 | maskElement: Element<any>
|
13 | |}>;
|