React Native 易用网格
这不是另一个网格布局库! 我们正在尝试用更简单的方法简化 flexbox。
## 关于
React Native Easy Grid 是 NativeBase 生态系统的一部分,
由 [GeekyAnts](https://geekyants.com?utm_source=github&utm_medium=opensource&utm_campaign=react-native-easy-grid) 打造。
我们专注于:
- [React Native 开发](https://geekyants.com/hire-react-native-developers?utm_source=github&utm_medium=opensource&utm_campaign=react-native-easy-grid) -
专家级移动应用开发
- [UI/UX 设计服务](https://geekyants.com/service/ui-ux-design-services?utm_source=github&utm_medium=opensource&utm_campaign=react-native-easy-grid) -
创建直观的用户界面
需要定制布局解决方案吗? [我们来聊聊](https://geekyants.com/hire?utm_source=github&utm_medium=opensource&utm_campaign=react-native-easy-grid)
## 安装
```
npm install react-native-easy-grid --save
```
## 使用方法
### 包含组件
```
import { Col, Row, Grid } from "react-native-easy-grid";
```
### 1. 两列 (50% 和 50%)
```
```
注:如果您未指定尺寸属性,则默认为与其兄弟元素具有相同的宽度(或高度)
<网格>
<Col>
<Text>1</Text>
</Col>
<Col>
<Row>
<Text>2</Text>