reactnativeepictrailsds
Version:
A modern, production-ready design system for React Native — featuring pre-styled, customizable components, state-based UI logic, theme support, and seamless integration with Tailwind, Expo, and TypeScript. Built for scalable mobile app development with ac
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;
}