flashcardui
Version:
> UI library for flash card application
9 lines (8 loc) • 316 B
TypeScript
import { HTMLAttributes } from 'react';
export interface FlashCardProps extends HTMLAttributes<HTMLDivElement> {
onClick?: () => void;
title: string;
content: string;
divider?: boolean;
}
export declare const FlashCard: ({ title, content, divider, ...props }: FlashCardProps) => JSX.Element;