UNPKG

@wix/design-system

Version:

@wix/design-system

29 lines 1.22 kB
import type { UniDriver } from '@wix/unidriver-core'; export declare const thumbnailDriverFactory: (base: UniDriver) => { /** Gets thumbnail title */ getTitle: () => Promise<string>; /** Gets thumbnail description */ getDescription: () => Promise<string>; /** Gets selected icon driver */ getSelectedIcon: () => UniDriver; /** Gets background image driver */ getBackgroundImage: () => UniDriver; /** Checks whether Thumbnail is selected */ isSelected: () => Promise<boolean>; /** Checks whether Thumbnail is disabled */ isDisabled: () => Promise<boolean>; /** Gets thumbnail image driver */ getImage: () => UniDriver; /** Gets thumbnail width, if it's set through `width` prop */ getWidth: () => Promise<string>; /** Gets thumbnail height, if it's set through `height` prop */ getHeight: () => Promise<string>; /** Gets aria-label attribute */ getAriaLabel: () => Promise<string | null>; exists: () => Promise<boolean>; element: () => Promise<any>; click: () => Promise<void>; base: UniDriver; }; export type ThumbnailUniDriver = ReturnType<typeof thumbnailDriverFactory>; //# sourceMappingURL=Thumbnail.uni.driver.d.ts.map