import { SupportedCardGalleryItemProps } from './SupportedCardGalleryItemProps'; import { FiltersMap } from '@wix/bex-core'; import { ActionsCell } from '../ActionsCell'; import { ReactElement } from 'react'; import { AddItemProps, CardGalleryItemProps } from '@wix/design-system'; export interface CardGridItemBaseProps { /** * A CardGalleryItem preset to preserve the same card size regardless of the provided data. * * @example * full — renders title + subtitle * title — renders only title * empty — renders a card without a footer * * @default title * @external */ preset?: 'full' | 'title' | 'empty'; /** * A function that renders a custom item of the grid. * Returns a WSR [`CardGalleryItemProps`](https://www.docs.wixdesignsystem.com/?path=/story/components-lists--cardgalleryitem) object * @external */ renderItem?: (item: T, index: number) => Partial; /** * Adds a [``](https://www.docs.wixdesignsystem.com/?path=/story/components-lists-table--tableactioncell) as last column.
* Must be a [ActionsCellProps](/pages/cairo/?path=/story/components-collection-features--actionscellprops) object, or a function that returns a [ActionsCellProps](/pages/cairo/?path=/story/components-collection-features--actionscellprops) object.
* @external */ actionsCell?: ActionsCell; /** * A function that renders an [``](https://www.docs.wixdesignsystem.com/?path=/story/components-lists--cardgalleryitem#Product_list) after all cards in gallery.
* Note: the `` card will not show when filters are applied, unless the filter is defined with the persistent option. * @external */ renderAddItem?: () => ReactElement; /** * Sets placement of background image. * @external */ imagePlacement?: CardGalleryItemProps['imagePlacement']; } //# sourceMappingURL=CardGridItemBaseProps.d.ts.map