@wix/design-system
Version:
@wix/design-system
30 lines • 992 B
TypeScript
import React, { PureComponent } from 'react';
import { CardGalleryItemProps } from './CardGalleryItem.types';
declare class CardGalleryItem extends PureComponent<CardGalleryItemProps> {
static displayName: 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;
_renderActions(): React.JSX.Element;
_renderSettingsMenu(): React.JSX.Element;
render(): React.JSX.Element;
}
export default CardGalleryItem;
//# sourceMappingURL=CardGalleryItem.d.ts.map