Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,12 @@ export const BottomSheetPortal = ({
handleComponent: DragIndicator,
backdropComponent: BackDrop,
...props
}: Partial<IBottomSheetProps> & {
}: Partial<IBottomSheetProps & {
handleClassName: string
containerClassName: string
backgroundClassName: string
handleIndicatorClassName: string
}> & {
defaultIsOpen?: boolean;
snapToIndex?: number;
snapPoints: string[];
Expand Down Expand Up @@ -288,6 +293,13 @@ export const BottomSheetFlatList = GorhomBottomSheetFlatList;
export const BottomSheetSectionList = GorhomBottomSheetSectionList;
export const BottomSheetTextInput = GorhomBottomSheetInput;

cssInterop(GorhomBottomSheet, {
className: 'style',
handleClassName: 'handleStyle',
containerClassName: 'containerStyle',
backgroundClassName: 'backgroundStyle',
handleIndicatorClassName: 'handleIndicatorStyle',
})
cssInterop(GorhomBottomSheetInput, { className: 'style' });
cssInterop(GorhomBottomSheetScrollView, { className: 'style' });
cssInterop(GorhomBottomSheetFlatList, { className: 'style' });
Expand Down