wix-style-react
Version:
wix-style-react
22 lines • 669 B
JavaScript
import { baseUniDriverFactory } from '../test-utils/utils/unidriver';
export const skeletonRectangleDriverFactory = (base, body) => {
return {
...baseUniDriverFactory(base, body),
/**
* Gets the width
* @returns {Promise<string>}
*/
getWidth: () => base.attr('data-width'),
/**
* Gets the height
* @returns {Promise<string>}
*/
getHeight: () => base.attr('data-height'),
/**
* Gets the skin
* @returns {Promise<string>}
*/
getSkin: () => base.attr('data-skin'),
};
};
//# sourceMappingURL=SkeletonRectangle.uni.driver.js.map