import React, { type FC, type PropsWithChildren } from 'react'; import globalize from '../../../scripts/globalize'; import CheckBoxElement from '../../../elements/CheckBoxElement'; interface AccessContainerProps { containerClassName?: string; headerTitle?: string; checkBoxClassName?: string; checkBoxTitle?: string; listContainerClassName?: string; accessClassName?: string; listTitle?: string; description?: string; } const AccessContainer: FC> = ({ containerClassName, headerTitle, checkBoxClassName, checkBoxTitle, listContainerClassName, accessClassName, listTitle, description, children }) => { return (

{globalize.translate(headerTitle)}

{globalize.translate(listTitle)}

{children}
{globalize.translate(description)}
); }; export default AccessContainer;