Skip to content

Commit 194e5ec

Browse files
author
Administrator
committed
update
1 parent bcef42d commit 194e5ec

File tree

5 files changed

+20
-15
lines changed

5 files changed

+20
-15
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.npmrc
12
node_modules/
23
# build/
3-
storybook-static/
4+
storybook-static/
5+

.npmrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
# @code4bones:registry=https://npm.pkg.github.com
1+
//npm.pkg.github.com/:_authToken=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
2+
@code4bones:registry=https://npm.pkg.github.com

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@
99

1010
# react-c4b-ui
1111

12+
![npm](https://img.shields.io/npm/dt/@code4bones/react-c4b-ui?style=flat-square)
1213

13-
![](https://img.shields.io/github/downloads/code4bones/react-c4b-ui/v1/total) ![](https://img.shields.io/github/watchers/code4bones/react-c4b-ui) ![](https://img.shields.io/github/forks/code4bones/react-c4b-ui) ![](https://img.shields.io/github/tag/code4bones/react-c4b-ui) ![](https://img.shields.io/github/release/code4bones/react-c4b-ui) ![](https://img.shields.io/github/issues/code4bones/react-c4b-ui)
14+
![](https://img.shields.io/github/downloads/code4bones/react-c4b-ui/total) ![](https://img.shields.io/github/watchers/code4bones/react-c4b-ui) ![](https://img.shields.io/github/forks/code4bones/react-c4b-ui) ![](https://img.shields.io/github/release/code4bones/react-c4b-ui) ![](https://img.shields.io/github/issues/code4bones/react-c4b-ui)
1415

1516
### Links
1617

@@ -34,21 +35,20 @@
3435
import "@code4bones/react-c4b-ui/build/styles.css";
3536

3637
const ITEMS : TreeMenuItem[] = [{
37-
id:"item1",
38-
title:"Item 1",
39-
childs:[{
40-
id:"sub",
41-
title:"Subitem 1",
42-
}]
43-
}]
38+
id:"item1",
39+
title:"Item 1",
40+
childs:[{
41+
id:"sub",
42+
title:"Subitem 1",
43+
}]
44+
}];
4445

4546
const ref = createRef<TreeMenuActions>();
4647

47-
4848
<TreeMenu
49-
ref={ref}
50-
items={ITEMS}
51-
onClick={onClick}
49+
ref={ref}
50+
tems={ITEMS}
51+
onClick={onClick}
5252
/>
5353

5454
```

build/index.d.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
import TreeMenu, { TreeMenuActions, TreeMenuItem } from "./TreeMenu/TreeMenu";
2-
import "./TreeMenu/TreeMenu.less";
32
export { TreeMenu, TreeMenuItem, TreeMenuActions, };

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@
1515
"generate": "node ./util/create-component",
1616
"prepublishOnly": "npm run build"
1717
},
18+
"publishConfig": {
19+
"registry": "https://npm.pkg.github.com"
20+
},
1821
"repository": {
1922
"type": "git",
2023
"url": "git+https://github.com/code4bones/react-c4b-ui.git"

0 commit comments

Comments
 (0)