1.4.0 • Published 7 years ago

react-native-bootstrap-grid v1.4.0

Weekly downloads
27
License
MIT
Repository
github
Last release
7 years ago

react-native-bootstrap-grid

npm version downloads

This package is used to provide a Grid component to React Native developers who desire a Bootstrap-like grid system. For an example application and demonstrations taken from Bootstrap's website, use npm run storybook and open a web browser to http://localhost:9001.

The Grid component defaults to match Bootstrap's settings, but can be customized to handle any situation. Below are the available properties and their default values. Feel free to adjust the numeric values, or even create your own unique breakpoint names (such as phonePortrait and phoneLandscape) for your application. If you choose to rename the breakpoints, you must create similarly named gutters and maxContainerWidths.

breakpoints: PropTypes.object

{
  xs: 0,
  sm: 576,
  md: 768,
  lg: 992,
  xl: 1200
}

columns: PropTypes.number

12

gutters: PropTypes.object

{
  xs: 30,
  sm: 30,
  md: 30,
  lg: 30,
  xl: 30
}

maxContainerWidths: PropTypes.object

{
  sm: 540,
  md: 720,
  lg: 960,
  xl: 1140
}
1.4.0

7 years ago

1.3.3

7 years ago

1.3.2

7 years ago

1.3.1

7 years ago

1.3.0

7 years ago

1.2.4

7 years ago

1.2.3

7 years ago

1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.0

7 years ago

0.1.0

7 years ago