mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-06 20:03:47 +00:00
[add] Text: support all ViewStylePropTypes
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
import { pickProps } from '../../modules/filterObjectProps'
|
import { pickProps } from '../../modules/filterObjectProps'
|
||||||
import CoreComponent from '../CoreComponent'
|
import CoreComponent from '../CoreComponent'
|
||||||
|
import View from '../View'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
|
...View.stylePropTypes,
|
||||||
...pickProps(CoreComponent.stylePropTypes, [
|
...pickProps(CoreComponent.stylePropTypes, [
|
||||||
'backgroundColor',
|
|
||||||
'color',
|
'color',
|
||||||
'fontFamily',
|
'fontFamily',
|
||||||
'fontSize',
|
'fontSize',
|
||||||
@@ -11,20 +12,6 @@ export default {
|
|||||||
'fontWeight',
|
'fontWeight',
|
||||||
'letterSpacing',
|
'letterSpacing',
|
||||||
'lineHeight',
|
'lineHeight',
|
||||||
'margin',
|
|
||||||
'marginHorizontal',
|
|
||||||
'marginVertical',
|
|
||||||
'marginBottom',
|
|
||||||
'marginLeft',
|
|
||||||
'marginRight',
|
|
||||||
'marginTop',
|
|
||||||
'padding',
|
|
||||||
'paddingHorizontal',
|
|
||||||
'paddingVertical',
|
|
||||||
'paddingBottom',
|
|
||||||
'paddingLeft',
|
|
||||||
'paddingRight',
|
|
||||||
'paddingTop',
|
|
||||||
'textAlign',
|
'textAlign',
|
||||||
'textDecoration',
|
'textDecoration',
|
||||||
'textTransform',
|
'textTransform',
|
||||||
|
|||||||
Reference in New Issue
Block a user