mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-05-30 09:19:21 +00:00
@@ -15,7 +15,7 @@ import TextInputStylePropTypes from '../../components/TextInput/TextInputStylePr
|
|||||||
import TextStylePropTypes from '../../components/Text/TextStylePropTypes';
|
import TextStylePropTypes from '../../components/Text/TextStylePropTypes';
|
||||||
import ViewStylePropTypes from '../../components/View/ViewStylePropTypes';
|
import ViewStylePropTypes from '../../components/View/ViewStylePropTypes';
|
||||||
import warning from 'fbjs/lib/warning';
|
import warning from 'fbjs/lib/warning';
|
||||||
import { oneOf, string } from 'prop-types';
|
import { number, oneOf, string } from 'prop-types';
|
||||||
|
|
||||||
// Hardcoded because this is a legit case but we don't want to load it from
|
// Hardcoded because this is a legit case but we don't want to load it from
|
||||||
// a private API. We might likely want to unify style sheet creation with how it
|
// a private API. We might likely want to unify style sheet creation with how it
|
||||||
@@ -84,12 +84,16 @@ StyleSheetValidation.addValidStylePropTypes(ImageStylePropTypes);
|
|||||||
StyleSheetValidation.addValidStylePropTypes(TextStylePropTypes);
|
StyleSheetValidation.addValidStylePropTypes(TextStylePropTypes);
|
||||||
StyleSheetValidation.addValidStylePropTypes(TextInputStylePropTypes);
|
StyleSheetValidation.addValidStylePropTypes(TextInputStylePropTypes);
|
||||||
StyleSheetValidation.addValidStylePropTypes(ViewStylePropTypes);
|
StyleSheetValidation.addValidStylePropTypes(ViewStylePropTypes);
|
||||||
|
|
||||||
StyleSheetValidation.addValidStylePropTypes({
|
StyleSheetValidation.addValidStylePropTypes({
|
||||||
appearance: string,
|
appearance: string,
|
||||||
|
borderCollapse: string,
|
||||||
|
borderSpacing: oneOf([number, string]),
|
||||||
clear: string,
|
clear: string,
|
||||||
cursor: string,
|
cursor: string,
|
||||||
float: oneOf(['left', 'none', 'right']),
|
float: oneOf(['left', 'none', 'right']),
|
||||||
font: string /* @private */,
|
font: string /* @private */,
|
||||||
listStyle: string,
|
listStyle: string,
|
||||||
pointerEvents: string
|
pointerEvents: string,
|
||||||
|
tableLayout: string
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user