import React from "react";
import FreezeLayerBehaviour from "./FreezeLayer.behaviour";
import FreezeLayerSkeleton from "./FreezeLayer.skeleton";
import FreezeLayerPropTypes, {defaultProps} from "./FreezeLayer.propTypes";
import componentGroups from "../../docs-utils/componentGroups";
import componentCategories from "../../docs-utils/componentCategories";

function FreezeLayer(props){
  return <FreezeLayerBehaviour
    {...props}
    renderComponent={FreezeLayerSkeleton}
  />
}

if(__DOCS__){
  FreezeLayer.docs={
    componentGroup: componentGroups.Atom,
    folderName : componentCategories.Layout
  }
}

FreezeLayer.propTypes = FreezeLayerPropTypes;
FreezeLayer.defaultProps = defaultProps;
export default FreezeLayer;