mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-01 18:15:13 +00:00
Update Text snapshot
This commit is contained in:
@@ -203,7 +203,7 @@ const StyleRegistry = {
|
|||||||
// if (!hasValidKey) { key = null; }
|
// if (!hasValidKey) { key = null; }
|
||||||
|
|
||||||
// cache resolved props when all styles are registered
|
// cache resolved props when all styles are registered
|
||||||
const key = isArrayOfNumbers ? `${prefix}${flatArray.join('-')}` : null;
|
const key = isArrayOfNumbers ? `${prefix}-${flatArray.join('-')}` : null;
|
||||||
|
|
||||||
return resolvePropsIfNeeded(key, flatArray);
|
return resolvePropsIfNeeded(key, flatArray);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,25 +1,15 @@
|
|||||||
exports[`components/Text prop "children" 1`] = `
|
exports[`components/Text prop "children" 1`] = `
|
||||||
<span
|
<span
|
||||||
className="
|
className="rn-borderTopWidth:0px rn-borderRightWidth:0px rn-borderBottomWidth:0px rn-borderLeftWidth:0px rn-color:inherit rn-display:inline rn-font:inherit rn-marginTop:0px rn-marginRight:0px rn-marginBottom:0px rn-marginLeft:0px rn-paddingTop:0px rn-paddingRight:0px rn-paddingBottom:0px rn-paddingLeft:0px rn-textDecoration:none rn-whiteSpace:pre-wrap rn-wordWrap:break-word"
|
||||||
rn-borderTopWidth:0px
|
style={
|
||||||
rn-borderRightWidth:0px
|
Array [
|
||||||
rn-borderBottomWidth:0px
|
2,
|
||||||
rn-borderLeftWidth:0px
|
undefined,
|
||||||
rn-color:inherit
|
false,
|
||||||
rn-display:inline
|
false,
|
||||||
rn-font:inherit
|
undefined,
|
||||||
rn-marginTop:0px
|
]
|
||||||
rn-marginRight:0px
|
}>
|
||||||
rn-marginBottom:0px
|
|
||||||
rn-marginLeft:0px
|
|
||||||
rn-paddingTop:0px
|
|
||||||
rn-paddingRight:0px
|
|
||||||
rn-paddingBottom:0px
|
|
||||||
rn-paddingLeft:0px
|
|
||||||
rn-textDecoration:none
|
|
||||||
rn-whiteSpace:pre-wrap
|
|
||||||
rn-wordWrap:break-word"
|
|
||||||
style={Object {}}>
|
|
||||||
children
|
children
|
||||||
</span>
|
</span>
|
||||||
`;
|
`;
|
||||||
@@ -54,26 +44,16 @@ rn-wordWrap:break-word"
|
|||||||
|
|
||||||
exports[`components/Text prop "selectable" 1`] = `
|
exports[`components/Text prop "selectable" 1`] = `
|
||||||
<span
|
<span
|
||||||
className="
|
className="rn-borderTopWidth:0px rn-borderRightWidth:0px rn-borderBottomWidth:0px rn-borderLeftWidth:0px rn-color:inherit rn-display:inline rn-font:inherit rn-marginTop:0px rn-marginRight:0px rn-marginBottom:0px rn-marginLeft:0px rn-paddingTop:0px rn-paddingRight:0px rn-paddingBottom:0px rn-paddingLeft:0px rn-textDecoration:none rn-whiteSpace:pre-wrap rn-wordWrap:break-word"
|
||||||
rn-borderTopWidth:0px
|
style={
|
||||||
rn-borderRightWidth:0px
|
Array [
|
||||||
rn-borderBottomWidth:0px
|
2,
|
||||||
rn-borderLeftWidth:0px
|
undefined,
|
||||||
rn-color:inherit
|
false,
|
||||||
rn-display:inline
|
false,
|
||||||
rn-font:inherit
|
undefined,
|
||||||
rn-marginTop:0px
|
]
|
||||||
rn-marginRight:0px
|
} />
|
||||||
rn-marginBottom:0px
|
|
||||||
rn-marginLeft:0px
|
|
||||||
rn-paddingTop:0px
|
|
||||||
rn-paddingRight:0px
|
|
||||||
rn-paddingBottom:0px
|
|
||||||
rn-paddingLeft:0px
|
|
||||||
rn-textDecoration:none
|
|
||||||
rn-whiteSpace:pre-wrap
|
|
||||||
rn-wordWrap:break-word"
|
|
||||||
style={Object {}} />
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`components/Text prop "selectable" 2`] = `
|
exports[`components/Text prop "selectable" 2`] = `
|
||||||
|
|||||||
Reference in New Issue
Block a user