@rohitninawe/chat-uikit-react-native
Version:
Ready-to-use Chat UI Components for React Native
19 lines (18 loc) • 467 B
TypeScript
import { CardViewStyle } from './CardViewStyle';
import { AIButtonsStyle } from './utils';
export type Card = {
title?: string;
id?: string;
onClick?: (id: string) => void;
style?: AIButtonsStyle;
};
interface CardProps {
buttons?: Card[];
backCallback?: (callback: () => void) => void;
cardViewStyle?: CardViewStyle;
}
export declare const CardView: {
(props: CardProps): any;
defaultProps: CardProps;
};
export default CardView;