@chatui/core
Version:
The React library for Chatbot UI
15 lines (14 loc) • 423 B
TypeScript
import React from 'react';
import type { TextProps } from '../Text';
export interface KvItemProps {
className?: string;
title: string;
level?: number;
desc?: string;
highlight?: boolean;
ellipsis?: TextProps['truncate'];
rightIcon?: string;
onClick?: (event: React.MouseEvent) => void;
children: React.ReactNode;
}
export declare const KvItem: (props: KvItemProps) => React.JSX.Element;