@nice-digital/nds-a-z-list 0.2.0-alpha.0 → 0.2.1-alpha.0
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/nds-a-z-list.d.ts +21 -0
- package/package.json +2 -2
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare module "@nice-digital/nds-a-z-list" {
|
|
2
|
+
import React = require("react");
|
|
3
|
+
|
|
4
|
+
export interface AZListProps {
|
|
5
|
+
alphabet: React.ElementType;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
className?: string;
|
|
8
|
+
[prop: string]: unknown;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export interface AZListItemProps {
|
|
12
|
+
id?: string;
|
|
13
|
+
title: string;
|
|
14
|
+
children: React.ReactNode;
|
|
15
|
+
className?: string;
|
|
16
|
+
[prop: string]: unknown;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export const AZList: React.FC<AZListProps>;
|
|
20
|
+
export const AZListItem: React.FC<AZListItemProps>;
|
|
21
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nice-digital/nds-a-z-list",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.1-alpha.0",
|
|
4
4
|
"description": "A to Z list component for the NICE Design System",
|
|
5
5
|
"main": "lib/AZList.js",
|
|
6
6
|
"module": "es/AZList.js",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"prop-types": "^15.8.1"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "d684b6c470540e6855c13ae2f1bd5bdbbc1910fe"
|
|
40
40
|
}
|