import React from "react"; import { alpha, Button, Typography, useTheme } from "@mui/material"; import CheckBoxIcon from "@mui/icons-material/CheckBox"; import RadioButtonUncheckedIcon from "@mui/icons-material/RadioButtonUnchecked"; import RadioButtonCheckedIcon from "@mui/icons-material/RadioButtonChecked"; import CheckBoxOutlineBlankIcon from "@mui/icons-material/CheckBoxOutlineBlank"; import SimpleBar from "simplebar-react"; import "simplebar-react/dist/simplebar.min.css"; // Import simplebar CSS const CustomMessageReasonBox = ({ handleClick, automateMessageData, selected, }) => { const theme = useTheme(); return ( {" "} {/* Set a max height for the scrollable container */}
{" "} {/* Ensure padding or margin for spacing */} {automateMessageData?.map((data, index) => ( ))}
); }; export default CustomMessageReasonBox;