bytesized.tv.web.constants
Version:
Common constants used in ByteSized.TV
56 lines (46 loc) • 1.1 kB
JavaScript
/* __.-._
* '-._"7' JediFocus
* /'.-c
* | /T Do. Or do not.
* _)_/LI There is no try.
*
* This project is a part of the “Byte-Sized JavaScript” videocasts.
* You can watch “Byte-Sized JavaScript” at: https://bytesized.tv/
*
* MIT Licensed — See LICENSE.md
*
* Send your comments, suggestions, and feedback to me@volkan.io
*/
import React from 'react';
import { Map, List } from 'immutable';
declare module 'bytesized.tv.web.card.types' {
declare type CardDescriptionProps = {
text: string
};
declare type CardListWrapProps = {
children: React.ReactNode
};
declare type CardListMainProps = {
videos: List<*>
};
declare type CardThumbnailProps = {
src: string,
width: string,
height: string
};
declare type CardHeadingProps = {
text: string
};
declare type CardRowProps = {
children: React.ReactNode
};
declare type CardMainWrapProps = {
children: React.ReactNode,
episodeNumber: number,
slug: string,
id: string
};
declare type CardMainProps = {
video: Map<string, *>
};
}