import React from "react";
import Button from "../Button";
const ButtonNextToEachOther = ({ buttons }) => {
  return (
    
      
        {buttons.map((button, i) => (
          
        ))}
      
      
        
      
     
  );
};
export default ButtonNextToEachOther;
ButtonNextToEachOther.defaultProps = {
  buttons: [
    {
      title: "روز",
      className: "rounded-tr-lg rounded-br-lg",
    },
    {
      title: "هفته",
      className: "",
    },
    {
      title: "ماه",
      className: "",
    },
    {
      title: "سال",
      className: "rounded-tl-lg rounded-bl-lg",
    },
  ],
};