@livetiles/reach-components-react 0.4.16 → 0.4.18
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/EventDetail.d.ts +2 -0
- package/NewsDetail.d.ts +4 -0
- package/NewsDetailViewMetaInfo.d.ts +3 -1
- package/PageDetail.d.ts +1 -0
- package/index.d.ts +5 -0
- package/index.esm2.js +17 -2
- package/index.umd.js +19 -4
- package/package.json +1 -1
package/EventDetail.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ export interface EventDetailProps {
|
|
|
3
3
|
itemId: string;
|
|
4
4
|
hideComments?: boolean;
|
|
5
5
|
hideLikes?: boolean;
|
|
6
|
+
onChannelClick?: (channel: string) => unknown;
|
|
7
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
6
8
|
className?: string;
|
|
7
9
|
}
|
|
8
10
|
export declare const EventDetail: FC<EventDetailProps>;
|
package/NewsDetail.d.ts
CHANGED
|
@@ -4,10 +4,14 @@ export interface NewsDetailProps {
|
|
|
4
4
|
hideComments?: boolean;
|
|
5
5
|
hideLikes?: boolean;
|
|
6
6
|
preventExternalContentAutoRedirect?: boolean;
|
|
7
|
+
onChannelClick?: (channel: string) => unknown;
|
|
8
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
7
9
|
className?: string;
|
|
8
10
|
}
|
|
9
11
|
export declare const NewsDetail: FC<NewsDetailProps>;
|
|
10
12
|
export declare const NewsDetailMainContent: FC<{
|
|
11
13
|
hideComments?: boolean;
|
|
12
14
|
hideLikes?: boolean;
|
|
15
|
+
onChannelClick?: (channel: string) => unknown;
|
|
16
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
13
17
|
}>;
|
package/PageDetail.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export interface PageDetailProps {
|
|
|
5
5
|
hideLikes?: boolean;
|
|
6
6
|
preventExternalContentAutoRedirect?: boolean;
|
|
7
7
|
homeBreadcrumbTargetUrl?: string;
|
|
8
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
8
9
|
className?: string;
|
|
9
10
|
}
|
|
10
11
|
export declare const PageDetail: FC<PageDetailProps>;
|
package/index.d.ts
CHANGED
|
@@ -21,6 +21,8 @@ interface NewsDetailProps {
|
|
|
21
21
|
hideComments?: boolean;
|
|
22
22
|
hideLikes?: boolean;
|
|
23
23
|
preventExternalContentAutoRedirect?: boolean;
|
|
24
|
+
onChannelClick?: (channel: string) => unknown;
|
|
25
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
24
26
|
className?: string;
|
|
25
27
|
}
|
|
26
28
|
declare const NewsDetail: FC<NewsDetailProps>;
|
|
@@ -31,6 +33,7 @@ interface PageDetailProps {
|
|
|
31
33
|
hideLikes?: boolean;
|
|
32
34
|
preventExternalContentAutoRedirect?: boolean;
|
|
33
35
|
homeBreadcrumbTargetUrl?: string;
|
|
36
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
34
37
|
className?: string;
|
|
35
38
|
}
|
|
36
39
|
declare const PageDetail: FC<PageDetailProps>;
|
|
@@ -39,6 +42,8 @@ interface EventDetailProps {
|
|
|
39
42
|
itemId: string;
|
|
40
43
|
hideComments?: boolean;
|
|
41
44
|
hideLikes?: boolean;
|
|
45
|
+
onChannelClick?: (channel: string) => unknown;
|
|
46
|
+
onKeywordClick?: (keyword: string) => unknown;
|
|
42
47
|
className?: string;
|
|
43
48
|
}
|
|
44
49
|
declare const EventDetail: FC<EventDetailProps>;
|