reactnativeepictrailsds
Version:
A flexible and customizable design system for React Native, providing pre-built UI components, typography, and themes to enhance mobile app development.
24 lines (22 loc) • 577 B
text/typescript
import { ReactNode } from "react";
export interface Comment {
id?: string | number;
userInitials?: string;
userName?: string;
likes?: number;
time?: string;
text?: string;
}
export interface BottomSheetProps {
showKnob?: boolean;
showButton?: boolean;
buttonLabel?: string;
onButtonPress?: () => void;
showComments?: boolean;
comments?: Comment[];
onAddComment?: (text: string) => void;
onLikeComment?: (index: number) => void;
onReplyComment?: (index: number) => void;
children?: ReactNode;
containerStyle?: object;
}