import React, { PropsWithChildren } from "react";

interface Props {
  givenClass: string;
  children: PropsWithChildren<React.ReactNode>;
}

const Wrapper = ({ givenClass, children }: Props) => {
  return <p className={givenClass}>{children}</p>;
};

export default Wrapper;
