import React, { Component } from 'react'; import { FlatListProps, StyleProp, ViewStyle } from 'react-native'; import { CommerceDataSource, CommerceTypes, WithCommerceProps, WithCommerceProviderProps } from '@brandingbrand/fscommerce'; import { CategoryBoxProps, GridProps } from '@brandingbrand/fscomponents'; export interface UnwrappedCategoryProps { categoryId?: string; format?: 'list' | 'grid'; columns?: number; onNavigate?: (data: CommerceTypes.Category) => void; categoryGridProps?: Partial>; listViewProps?: Partial>; categoryItemProps?: Partial; renderCategoryItem?: (data: CommerceTypes.Category) => JSX.Element; style?: StyleProp; loadingStyle?: StyleProp; listStyle?: StyleProp; } export declare type CategoryProps = UnwrappedCategoryProps & WithCommerceProviderProps; export declare class Category extends Component> { componentDidUpdate(prevProps: UnwrappedCategoryProps & WithCommerceProps): void; render(): JSX.Element; } declare const _default: React.ComponentClass, any>; export default _default;