@zidian-primitive/cascader 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/lib/types/index.d.ts +1 -0
- package/package.json +2 -2
- package/src/index.ts +8 -0
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# @zidian-
|
|
1
|
+
# @zidian-primitive/cascader
|
|
2
2
|
|
|
3
3
|
A flexible cascader component library built with component composition pattern, providing complete UI and logic for hierarchical selection.
|
|
4
4
|
|
|
@@ -15,7 +15,7 @@ A flexible cascader component library built with component composition pattern,
|
|
|
15
15
|
## Installation
|
|
16
16
|
|
|
17
17
|
```bash
|
|
18
|
-
npm install @zidian-
|
|
18
|
+
npm install @zidian-primitive/cascader
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
## Quick Start
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
CascaderPanelIndicator,
|
|
31
31
|
useCascader,
|
|
32
32
|
type CascaderItem
|
|
33
|
-
} from '@zidian-
|
|
33
|
+
} from '@zidian-primitive/cascader'
|
|
34
34
|
|
|
35
35
|
const data = [
|
|
36
36
|
{ category: 'Electronics', type: 'Phone', brand: 'iPhone' },
|
package/lib/types/index.d.ts
CHANGED
package/package.json
CHANGED