@secondstaxorg/sscomp 2.0.82 → 2.0.83
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/dist/index.es.js +35 -20
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +35 -10
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +83 -68
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
- package/types/components/VideoCard/VideoCard.d.ts +1 -1
- package/types/components/VideoCard/type.d.ts +8 -0
package/package.json
CHANGED
|
@@ -3,5 +3,5 @@ import { VideoCardProps } from "./type";
|
|
|
3
3
|
* Card to display thumbnail image and title of a video with a link to the page that hosts the actual video.<br>
|
|
4
4
|
* This is not a video player, hence will not play the video
|
|
5
5
|
*/
|
|
6
|
-
declare const VideoCard: ({ date, onClick, thumbnailUrl, videoTitle }: VideoCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
declare const VideoCard: ({ date, onClick, thumbnailUrl, videoTitle, source, sourceLogo }: VideoCardProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export default VideoCard;
|
|
@@ -15,4 +15,12 @@ export interface VideoCardProps {
|
|
|
15
15
|
* A function to be triggered when the video card is clicked
|
|
16
16
|
*/
|
|
17
17
|
onClick: () => void;
|
|
18
|
+
/**
|
|
19
|
+
* Name of the source the video is from
|
|
20
|
+
*/
|
|
21
|
+
source?: string;
|
|
22
|
+
/**
|
|
23
|
+
* URL to the source the video is from
|
|
24
|
+
*/
|
|
25
|
+
sourceLogo?: string;
|
|
18
26
|
}
|