Skip to content

Commit

Permalink
docs(cn): fix conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
QC-L committed Sep 3, 2021
1 parent 49aa60f commit 49c40f0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
8 changes: 2 additions & 6 deletions content/docs/thinking-in-react.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,9 @@ React 最棒的部分之一是引导我们思考如何构建一个应用。在

在实践中,因为你经常是在向用户展示 JSON 数据模型,所以如果你的模型设计得恰当,UI(或者说组件结构)便会与数据模型一一对应,这是因为 UI 和数据模型都会倾向于遵守相同的*信息结构*。将 UI 分离为组件,其中每个组件需与数据模型的某部分匹配。

![Diagram showing nesting of components](../images/blog/thinking-in-react-components.png)
![组件嵌套图示](../images/blog/thinking-in-react-components.png)

<<<<<<< HEAD
你会看到我们的应用中包含五个组件。我们已经将每个组件展示的数据标注为了斜体。
=======
You'll see here that we have five components in our app. We've italicized the data each component represents. The numbers in the image correspond to the numbers below.
>>>>>>> a11c2534062bd79cc1e6e34db0e149f928df35bb
你会看到我们的应用中包含五个组件。我们已经将每个组件展示的数据标注为了斜体。图片中的序号与下方列表中的序号对应。

1. **`FilterableProductTable` (橙色):** 是整个示例应用的整体
2. **`SearchBar` (蓝色):** 接受所有的*用户输入*
Expand Down
6 changes: 1 addition & 5 deletions src/components/Banner/Banner.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,7 @@ export default function Banner() {
target="_blank"
rel="noopener">
<span css={{color: colors.brand}}>
<<<<<<< HEAD
参与 2020 社区问卷调查!
=======
Take our 2021 Community Survey!
>>>>>>> a11c2534062bd79cc1e6e34db0e149f928df35bb
参与 2021 社区问卷调查!
</span>
<ExternalLinkSvg
cssProps={{
Expand Down

0 comments on commit 49c40f0

Please sign in to comment.