mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-25 23:48:54 +00:00
@@ -32,9 +32,11 @@ const TextPropTypes = {
|
||||
testID: string,
|
||||
// web extensions
|
||||
onContextMenu: func,
|
||||
itemprop: string,
|
||||
itemscope: string,
|
||||
itemtype: string
|
||||
itemID: string,
|
||||
itemRef: string,
|
||||
itemProp: string,
|
||||
itemScope: string,
|
||||
itemType: string
|
||||
};
|
||||
|
||||
export default TextPropTypes;
|
||||
|
||||
+10
-6
@@ -69,9 +69,11 @@ export type ViewProps = {
|
||||
testID?: string,
|
||||
// web extensions
|
||||
onContextMenu?: Function,
|
||||
itemprop?: string,
|
||||
itemscope?: string,
|
||||
itemtype?: string,
|
||||
itemID?: string,
|
||||
itemRef?: string,
|
||||
itemProp?: string,
|
||||
itemScope?: string,
|
||||
itemType?: string,
|
||||
// compatibility with React Native
|
||||
accessibilityViewIsModal?: boolean,
|
||||
collapsable?: boolean,
|
||||
@@ -136,9 +138,11 @@ const ViewPropTypes = {
|
||||
testID: string,
|
||||
// web extensions
|
||||
onContextMenu: func,
|
||||
itemprop: string,
|
||||
itemscope: string,
|
||||
itemtype: string,
|
||||
itemID: string,
|
||||
itemRef: string,
|
||||
itemProp: string,
|
||||
itemScope: string,
|
||||
itemType: string,
|
||||
// compatibility with React Native
|
||||
accessibilityViewIsModal: bool,
|
||||
collapsable: bool,
|
||||
|
||||
@@ -58,9 +58,11 @@ const supportedProps = {
|
||||
// unstable escape-hatches for web
|
||||
className: true,
|
||||
href: true,
|
||||
itemprop: true,
|
||||
itemscope: true,
|
||||
itemtype: true,
|
||||
itemID: true,
|
||||
itemRef: true,
|
||||
itemProp: true,
|
||||
itemScope: true,
|
||||
itemType: true,
|
||||
onClick: true,
|
||||
onClickCapture: true,
|
||||
rel: true,
|
||||
|
||||
Reference in New Issue
Block a user