diff --git a/src/components/ButtonDesign/ButtonNextToEachOther/index.js b/src/components/ButtonDesign/ButtonNextToEachOther/index.js deleted file mode 100644 index ad47d8f..0000000 --- a/src/components/ButtonDesign/ButtonNextToEachOther/index.js +++ /dev/null @@ -1,46 +0,0 @@ -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", - }, - ], -}; diff --git a/src/components/ButtonDesign/index.js b/src/components/ButtonDesign/index.js index 5f07818..101a27a 100644 --- a/src/components/ButtonDesign/index.js +++ b/src/components/ButtonDesign/index.js @@ -2,13 +2,11 @@ import React, { useState } from "react"; import Button from "./Button"; import ButtonDivTag from "./ButtonDivTag"; -import ButtonNextToEachOther from "./ButtonNextToEachOther"; function ButtonDesign() { const list = { 1: