File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ pnpm install dt-react-component
4949``` jsx
5050import React from ' react' ;
5151import { BlockHeader } from ' dt-react-component' ;
52- const App = () => < BlockHeader title= " 分类标题" showBackground / > ;
52+ const App = () => < BlockHeader title= " 分类标题" background / > ;
5353```
5454
5555### 按需加载
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ pnpm install dt-react-component
4949``` jsx
5050import React from ' react' ;
5151import { BlockHeader } from ' dt-react-component' ;
52- const App = () => < BlockHeader title= " 分类标题" showBackground / > ;
52+ const App = () => < BlockHeader title= " 分类标题" background / > ;
5353```
5454
5555### Load on demand
Original file line number Diff line number Diff line change @@ -36,9 +36,9 @@ order: 5
3636
37371、fork 本仓库,在自己的仓库提交代码
3838
39- 2、请从 ** master** 分支中新建 ** feat ** 分支进行开发,分支命名用下划线加上版本号,如:** feat \_ 功能**
39+ 2、请从 ** master** 分支中新建 ** fix ** 分支进行开发,分支命名用下划线加上版本号,如:** fix \_ 功能**
4040
41- 3、** feat ** 分支开发完毕后请向相应负责人提 PR,PR 要求附上自己仓库的文档预览地址,待相应负责人 review 代码后和入 ** master** 分支
41+ 3、** fix ** 分支开发完毕后请向相应负责人提 PR,PR 要求附上自己仓库的文档预览地址,待相应负责人 review 代码后和入 ** master** 分支
4242
4343## 如何生成自己的文档地址
4444
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ pnpm install dt-react-component
4646``` js
4747import React from ' react' ;
4848import { BlockHeader } from ' dt-react-component' ;
49- const App = () => < BlockHeader title= " 分类标题" showBackground / > ;
49+ const App = () => < BlockHeader title= " 分类标题" background / > ;
5050```
5151
5252</div >
@@ -58,7 +58,7 @@ const App = () => <BlockHeader title="分类标题" showBackground />;
5858 */
5959import React from ' react' ;
6060import { BlockHeader } from ' dt-react-component' ;
61- export default () => < BlockHeader title= " 分类标题" showBackground / > ;
61+ export default () => < BlockHeader title= " 分类标题" background / > ;
6262```
6363
6464</div >
You can’t perform that action at this time.
0 commit comments