import React from "react";
import { UserModalItemStyled } from "../PageTitle.style";

const UserItem = ({ icon, title, onClick }) => {
  return (
    <UserModalItemStyled onClick={onClick}>
      {icon}
      {title}
    </UserModalItemStyled>
  );
};

export default UserItem;

