oceanic-transcripts
Version:
A nicely formatted html transcript generator for oceanic.js.
15 lines (14 loc) • 545 B
TypeScript
import { ComponentTypes } from 'oceanic.js';
import type { CSSProperties } from 'react';
/**
* Gets the appropriate label for different select menu types
*/
export declare const getSelectTypeLabel: (type: ComponentTypes) => string;
/**
* Gets the grid layout for media galleries based on count
*/
export declare const getGalleryLayout: (count: number) => CSSProperties;
/**
* Gets the style for an individual image based on its position and total count
*/
export declare const getImageStyle: (idx: number, count: number) => CSSProperties;