UNPKG

react-help-desk-tailwindcss-ts

Version:

Help desk component for React with Tailwindcss in TypeScript

17 lines (16 loc) 496 B
import { MouseEvent, default as React } from 'react'; export interface ArticleProps { title: string; body: string; } export interface CategoryProps { category: { title: string; categories?: CategoryProps["category"][]; articles?: ArticleProps[]; }; goToArticle: (article: ArticleProps, e: MouseEvent<HTMLButtonElement, globalThis.MouseEvent>) => void; expanded?: boolean; } declare const Category: React.FC<CategoryProps>; export default Category;