import { h } from "@stencil/core";
import { skeleton } from "../styles/parts";
export const Skeleton = ({ component = 'div', height, width, className, styles = {}, }) => {
    const combinedStyle = Object.assign(Object.assign({}, styles), { width,
        height });
    const TagType = component;
    return (h(TagType, { class: `${className} skeleton`, style: combinedStyle, part: skeleton, "aria-hidden": "true" }));
};
export default Skeleton;
