File tree Expand file tree Collapse file tree 3 files changed +2
-77
lines changed Expand file tree Collapse file tree 3 files changed +2
-77
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -92,7 +92,6 @@ import Paragraph from './components/type/Paragraph';
9292
9393/* primitive components */
9494import Image from './components/Image' ;
95- import BlockLink from './components/BlockLink' ;
9695import Link from './components/Link' ;
9796import Text from './components/Text' ;
9897import View from './components/View' ;
@@ -134,7 +133,6 @@ export {
134133 Tooltip ,
135134 // content
136135 Image ,
137- BlockLink ,
138136 Link ,
139137 Table ,
140138 TD ,
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ const styles = StyleSheet.create({
4646 } ,
4747} ) ;
4848
49- const calculateHitSlopStyle = hitSlop => {
49+ const calculateHitSlopStyle = ( hitSlop ) => {
5050 const hitStyle = { } ;
5151
5252 // eslint-disable-next-line no-restricted-syntax
@@ -81,17 +81,12 @@ class BaseView extends Component {
8181 checkUtilityClasses ( styleName ) ;
8282 }
8383
84- warning (
85- ! isInAParentText ,
86- 'A view should not be used inside of a text component.' ,
87- ) ;
88-
8984 warning (
9085 customClassName == null ,
9186 'Using the "className" prop on <View> is deprecated.' ,
9287 ) ;
9388
94- React . Children . toArray ( children ) . forEach ( item => {
89+ React . Children . toArray ( children ) . forEach ( ( item ) => {
9590 invariant (
9691 typeof item !== 'string' ,
9792 `Unexpected text node: ${ item } . A text node cannot be a child of a <View>.` ,
You can’t perform that action at this time.
0 commit comments