UNPKG

class101-ui

Version:

A React-based UI Component Library, powered by Class101.

17 lines (16 loc) 596 B
import React from 'react'; interface Props { title: string; coverImage: string | React.ReactNode; coverImageSrcSet?: string; coverImageAlt?: string; coverImageRatio?: '1*1' | '4*3' | '16*9'; extraTop?: React.ReactNode; extraBottom?: React.ReactNode; to?: string; href?: string; children?: React.ReactNode; target?: string; } declare const _default: ({ title, coverImage, coverImageSrcSet, coverImageAlt, coverImageRatio, extraTop, extraBottom, children, to, href, target, ...restProps }: Props) => JSX.Element; export default _default;