import { extendCommonGroupsStylesheet } from "@devowl-wp/web-cookie-banner";

import { useStylesheet } from "../../../contexts/stylesheet.js";

import type { FC, PropsWithChildren } from "react";

const GroupList: FC<PropsWithChildren> = ({ children }) => {
    const { GroupList } = useStylesheet().extend(...extendCommonGroupsStylesheet);
    return <GroupList>{children}</GroupList>;
};

export { GroupList };
