diff --git a/docs/next/height-and-width.html b/docs/next/height-and-width.html index 946977fcb8a..96ff4fbba64 100644 --- a/docs/next/height-and-width.html +++ b/docs/next/height-and-width.html @@ -57,7 +57,7 @@ AppRegistry.registerComponent('AwesomeProject', () => FixedDimensionsBasics);
Setting dimensions this way is common for components that should always render at exactly the same size, regardless of screen dimensions.
Use flex in a component's style to have the component expand and shrink dynamically based on available space. Normally you will use flex: 1, which tells a component to fill all available space, shared evenly amongst each other component with the same parent. The larger the flex given, the higher the ratio of space a component will take compared to its siblings.
Use flex in a component's style to have the component expand and shrink dynamically based on available space. Normally you will use flex: 1, which tells a component to fill all available space, shared evenly amongst other components with the same parent. The larger the flex given, the higher the ratio of space a component will take compared to its siblings.
diff --git a/docs/next/height-and-width/index.html b/docs/next/height-and-width/index.html index 946977fcb8a..96ff4fbba64 100644 --- a/docs/next/height-and-width/index.html +++ b/docs/next/height-and-width/index.html @@ -57,7 +57,7 @@ AppRegistry.registerComponent('AwesomeProject', () => FixedDimensionsBasics);A component can only expand to fill available space if its parent has dimensions greater than 0. If a parent does not have either a fixed
widthandheightorflex, the parent will have dimensions of 0 and theflexchildren will not be visible.
Setting dimensions this way is common for components that should always render at exactly the same size, regardless of screen dimensions.
Use flex in a component's style to have the component expand and shrink dynamically based on available space. Normally you will use flex: 1, which tells a component to fill all available space, shared evenly amongst each other component with the same parent. The larger the flex given, the higher the ratio of space a component will take compared to its siblings.
Use flex in a component's style to have the component expand and shrink dynamically based on available space. Normally you will use flex: 1, which tells a component to fill all available space, shared evenly amongst other components with the same parent. The larger the flex given, the higher the ratio of space a component will take compared to its siblings.
diff --git a/docs/next/touchablewithoutfeedback.html b/docs/next/touchablewithoutfeedback.html index 6f6a46c33a7..a9a93615990 100644 --- a/docs/next/touchablewithoutfeedback.html +++ b/docs/next/touchablewithoutfeedback.html @@ -37,7 +37,6 @@A component can only expand to fill available space if its parent has dimensions greater than 0. If a parent does not have either a fixed
widthandheightorflex, the parent will have dimensions of 0 and theflexchildren will not be visible.
TouchableWithoutFeedback supports only one child. If you wish to have several child components, wrap them in a View.
hitSlopaccessibilityComponentTypeaccessibilityHintaccessibilityLabeldelayPressIndelayPressOutdisabledhitSloponBluronFocusonLayouthitSlopThis defines how far your touch can start away from the button. This is added to pressRetentionOffset when moving off of the button. ** NOTE ** The touch area never extends past the parent view bounds and the Z-index of sibling views always takes precedence if a touch hits two overlapping views.
| Type | Required |
|---|---|
| object: {top: number, left: number, bottom: number, right: number} | No |
accessibilityComponentType> Note: accessibilityComponentTypewill soon be deprecated. When possible, use accessibilityRole and accessibilityStates instead.
hitSlopThis defines how far your touch can start away from the button. This is added to pressRetentionOffset when moving off of the button. ** NOTE ** The touch area never extends past the parent view bounds and the Z-index of sibling views always takes precedence if a touch hits two overlapping views.
| Type | Required |
|---|---|
| object: {top: number, left: number, bottom: number, right: number} | No |
onBlurInvoked when the item loses focus.
| Type | Required |
|---|---|
| object: {top: number, left: number, bottom: number, right: number} | No |
accessibilityComponentType> Note: accessibilityComponentTypewill soon be deprecated. When possible, use accessibilityRole and accessibilityStates instead.
hitSlopThis defines how far your touch can start away from the button. This is added to pressRetentionOffset when moving off of the button. ** NOTE ** The touch area never extends past the parent view bounds and the Z-index of sibling views always takes precedence if a touch hits two overlapping views.
| Type | Required |
|---|---|
| object: {top: number, left: number, bottom: number, right: number} | No |
onBlurInvoked when the item loses focus.