@wix/design-system
Version:
@wix/design-system
38 lines • 1.41 kB
TypeScript
import React, { PureComponent } from 'react';
import { CardGalleryItemProps } from './CardGalleryItem.types';
declare class CardGalleryItem extends PureComponent<CardGalleryItemProps> {
static displayName: string;
static contextType: React.Context<{
newBrandingClass?: string;
mobile?: boolean;
contextClassName?: string;
}>;
static defaultProps: {
aspectRatio: number;
size: string;
imagePlacement: string;
showSuffixOnHover: boolean;
skin: string;
skinVisibility: string;
};
state: {
isHovered: boolean;
isFocused: boolean;
};
_onMouseEnter: () => void;
_onMouseLeave: () => void;
_onFocus: React.FocusEventHandler<HTMLDivElement>;
_onBlur: () => void;
_hasFooter(): boolean;
_renderBadge(): React.JSX.Element;
_renderDragHandle(): React.JSX.Element;
_renderFooter(): React.JSX.Element;
_renderPrimaryAction(skin: 'light' | 'standard', dataHook: string, fullWidth?: boolean): React.JSX.Element;
_renderSecondaryAction(skin: 'light' | 'standard', dataHook: string): React.JSX.Element | null;
_renderActions(): React.JSX.Element;
_renderBottomActions(): React.JSX.Element;
_renderSettingsMenu(dataHook?: string): React.JSX.Element;
render(): React.JSX.Element;
}
export default CardGalleryItem;
//# sourceMappingURL=CardGalleryItem.d.ts.map