@janiscommerce/ui-native
Version:
components library for Janis app
10 lines (9 loc) • 607 B
TypeScript
import React from 'react';
import { BaseModalProps, BaseSwipeUpProps } from '../../molecules/BaseDetail/types';
import { ProductProps } from './components/ProductInfo';
import { ModalMethods } from '../../atoms/Modal';
import { BottomSheetMethods } from '@gorhom/bottom-sheet/lib/typescript/types';
type ProductDetailProps = (ProductProps & BaseModalProps) | (ProductProps & BaseSwipeUpProps);
type BaseDetailMethods = ModalMethods & BottomSheetMethods;
declare const ProductDetail: React.ForwardRefExoticComponent<ProductDetailProps & React.RefAttributes<BaseDetailMethods>>;
export default ProductDetail;