File tree 4 files changed +6
-6
lines changed
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
49
49
``` jsx
50
50
import React from ' react' ;
51
51
import { BlockHeader } from ' dt-react-component' ;
52
- const App = () => < BlockHeader title= " 分类标题" showBackground / > ;
52
+ const App = () => < BlockHeader title= " 分类标题" background / > ;
53
53
```
54
54
55
55
### 按需加载
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ pnpm install dt-react-component
49
49
``` jsx
50
50
import React from ' react' ;
51
51
import { BlockHeader } from ' dt-react-component' ;
52
- const App = () => < BlockHeader title= " 分类标题" showBackground / > ;
52
+ const App = () => < BlockHeader title= " 分类标题" background / > ;
53
53
```
54
54
55
55
### Load on demand
Original file line number Diff line number Diff line change @@ -36,9 +36,9 @@ order: 5
36
36
37
37
1、fork 本仓库,在自己的仓库提交代码
38
38
39
- 2、请从 ** master** 分支中新建 ** feat ** 分支进行开发,分支命名用下划线加上版本号,如:** feat \_ 功能**
39
+ 2、请从 ** master** 分支中新建 ** fix ** 分支进行开发,分支命名用下划线加上版本号,如:** fix \_ 功能**
40
40
41
- 3、** feat ** 分支开发完毕后请向相应负责人提 PR,PR 要求附上自己仓库的文档预览地址,待相应负责人 review 代码后和入 ** master** 分支
41
+ 3、** fix ** 分支开发完毕后请向相应负责人提 PR,PR 要求附上自己仓库的文档预览地址,待相应负责人 review 代码后和入 ** master** 分支
42
42
43
43
## 如何生成自己的文档地址
44
44
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ pnpm install dt-react-component
46
46
``` js
47
47
import React from ' react' ;
48
48
import { BlockHeader } from ' dt-react-component' ;
49
- const App = () => < BlockHeader title= " 分类标题" showBackground / > ;
49
+ const App = () => < BlockHeader title= " 分类标题" background / > ;
50
50
```
51
51
52
52
</div >
@@ -58,7 +58,7 @@ const App = () => <BlockHeader title="分类标题" showBackground />;
58
58
*/
59
59
import React from ' react' ;
60
60
import { BlockHeader } from ' dt-react-component' ;
61
- export default () => < BlockHeader title= " 分类标题" showBackground / > ;
61
+ export default () => < BlockHeader title= " 分类标题" background / > ;
62
62
```
63
63
64
64
</div >
You can’t perform that action at this time.
0 commit comments