@guestbell/react-page-plugins
Version:
Plugins we use in GuestBell for working with amazing react-page package
18 lines (17 loc) • 463 B
TypeScript
import { Image } from '../../common/types/image/Image';
import { PaddingState } from '../../common/types/padding/PaddingState';
export declare enum ImageConstraintMode {
FullWidth = 0,
BigHeight = 1,
MediumHeight = 2,
SmallHeight = 3
}
export type ImageState = PaddingState & {
imageId?: number;
image?: Image;
src?: string;
srcSet?: string;
href?: string;
constraintMode?: ImageConstraintMode;
hasMargin?: boolean;
};