UNPKG

@wonderflow/react-components

Version:

UI components from Wonderflow's Wanda design system

84 lines 1.92 kB
/// <reference types="react" /> import { TokensTypes } from '@wonderflow/tokens/platforms/web'; export declare type Currency = 'EUR' | 'USD' | 'GBP' | 'JPY' | 'CNY'; export declare type ProductCardKpisProps = PropsWithClass<{ /** * Set the stars rating value. */ rating?: number; /** * Set the feedback count value. */ feedbackCount?: number; /** * Set the votes count value. */ votesCount?: number; /** * Set the votes rating value. */ votesRating?: number; /** * Set the sentiment index value. */ sentiment?: number; /** * Set the NPS value. */ nps?: number; /** * Set the groups value. */ groups?: number; /** * Set the TGW value. */ tgw?: number; /** * Set the minimum price value. */ priceMin?: number; /** * Set the maximum price value. */ priceMax?: number; /** * Set the price currency code based on ISO 4217. */ currency?: Currency; /** * Set the number of decimal to be used for currency formatting. */ currencyDecimals?: number; /** * Set the users value. */ users?: number; /** * Set a cap value for users. */ usersCap?: number; /** * Set the SKUs value. */ skus?: number; /** * Set the a cap value for SKUs. */ skusCap?: number; /** * Set the number of Kpis items to be displayed. */ kpiItems?: number; /** * Set the space between Kpis items. */ kpisRowGap?: TokensTypes['space']; /** * Set the loading state showing a skeleton. */ isLoading?: boolean; }>; export declare type ProductCardKpisComponent = React.ForwardRefExoticComponent<ProductCardKpisProps>; export declare const ProductCardKpis: ProductCardKpisComponent; //# sourceMappingURL=product-card-kpis.d.ts.map