import { ReactNode, useState } from "react";

import "./Context.css";
import { getCN, usePadding, onLoad } from "../../utils";

function SkeletonContext({
  children,
  className,
  skeleton = true,
  ...props
}: {
  [x: string]: any;
}) {
  return (
    <div {...props} className={getCN([className, skeleton && "MYUI-SkeletonContext"])}>
      {children}
    </div>
  );
}

export default SkeletonContext;
