UNPKG

348 BJavaScriptView Raw
1// @flow
2import { type Node, type Element } from 'react';
3import { ViewPropTypes } from 'react-native';
4
5export 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 |}>;