Skip to content

Commit 7f96fee

Browse files
committed
fixed typos
1 parent 2766003 commit 7f96fee

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Before React Native v0.42 we didn't have a performant, declarative way of specif
1616

1717
## Responsive Layout
1818

19-
This grid eschews Flexbox-based constraint-based grow/shirnk sizing in favor of percentage-based sizing while at the same time relying other aspects of Flexbox's 1-dimensional constraint-based layout. The grid aims to deliver the predictability of the percentage-based model with the more sophisticated alignment capability of the Flexbox model.
19+
This grid eschews Flexbox-based constraint-based grow/shrink sizing in favor of percentage-based sizing while at the same time relying other aspects of Flexbox's 1-dimensional constraint-based layout. The grid aims to deliver the predictability of the percentage-based model with the more sophisticated alignment capability of the Flexbox model.
2020

2121
_The grid construct is extended beyond its common form as a Rectilinear 2D Grid and generalized as cross-nestable Row and Column components that can be combined in an alternating pattern to build a tree of Views of any shape and depth. That is to say, a Row View (Row for short) may contain one or more Column Views (Column for short), each of which may contain one or more Rows, which in turn may contain one or more Columns, and so on. Both Rows and Columns can be styled using predictable, percentage-based width, height, padding and margins. Rows can be aligned vertically (along main axis) and horizontally (along cross axis) inside Columns, and Columns can be aligned horizontally (along main axis) and vertically (along cross axis) inside Rows. [Additionally, the multiple lines created by wrapped Row content may be aligned vertically relative to the parent Column.] And with this, we can build the entire UI component tree (or an individual component's subtree) using a consistent, repeatable and recursive pattern, one that has predictable and dynamic --not only static-- responsiveness and the ability to trigger specific adaptive behavior built into it._
2222

UniversalPinterestLayout.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import {
1414

1515
import { Row, Column as Col, ScreenInfo, Grid} from './grid'
1616

17-
// column width (relative to screen siez)
17+
// column width (relative to screen size)
1818
const sizes = {sm: 100, md: 50, lg: 25, xl: 20}
1919

2020
const layout = (state) => {

UniversalTiles.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import { Row, Column as Col, Grid} from './grid'
1616

1717
const data = [...new Array(12).keys()]
1818

19-
// column width (relative to screen siez)
19+
// column width (relative to screen size)
2020
const sizes = {sm: 100, md: 50, lg: 33.333, xl: 25}
2121

2222
let els = {}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-responsive-grid",
3-
"version": "0.34.01",
3+
"version": "0.34.02",
44
"description": "Responsive grid for React Native based on react-native-flexbox-grid",
55
"main": "src/index.js",
66
"repository": {

src/components/Grid.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export default class Grid extends React.Component {
7373
>
7474
{this.props.children({
7575
state: this.state,
76-
setState: (...args) => this.setState.bind(this, ...args),
76+
setState: (...args) => this.setState(...args),
7777
})}
7878
</View>)
7979
}

0 commit comments

Comments
 (0)