@akad/strapi-blocks 0.0.1-beta.6 → 0.0.1-beta.7
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/News/News.d.ts +18 -0
- package/News/News.test.d.ts +1 -0
- package/News/index.d.ts +1 -0
- package/main.d.ts +2 -1
- package/package.json +1 -1
- package/styles.css +1 -1
- package/ts-lib.js +4496 -4153
- package/ts-lib.umd.cjs +13 -13
package/News/News.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
interface NewsLink {
|
|
3
|
+
id?: number;
|
|
4
|
+
label?: string;
|
|
5
|
+
url?: string;
|
|
6
|
+
}
|
|
7
|
+
interface NewsItem {
|
|
8
|
+
title: string;
|
|
9
|
+
content: string;
|
|
10
|
+
type: 'event' | 'news' | 'campaign' | 'product';
|
|
11
|
+
date?: string;
|
|
12
|
+
link?: NewsLink;
|
|
13
|
+
}
|
|
14
|
+
interface NewsProps {
|
|
15
|
+
content: NewsItem[];
|
|
16
|
+
}
|
|
17
|
+
declare const News: React.FC<NewsProps>;
|
|
18
|
+
export default News;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/News/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './News.tsx';
|
package/main.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CategoryCards } from './CategoryCards';
|
|
2
2
|
import { Questions, QuestionDetail } from './Faq';
|
|
3
|
+
import { default as News } from './News';
|
|
3
4
|
import { SidebarMenuList } from './SidebarMenuList';
|
|
4
5
|
|
|
5
|
-
export { CategoryCards, Questions, QuestionDetail, SidebarMenuList };
|
|
6
|
+
export { CategoryCards, Questions, QuestionDetail, News, SidebarMenuList };
|