master
mahdi andalib 3 years ago
parent b85c7530c7
commit 2a8f7f01bf
  1. 14
      src/components/ReactTable3/EditButtons.js

@ -22,7 +22,6 @@ export function EditButtons({buttons }) {
<img src={button.logo} alt="" className={`cursor-pointer ${button.width} ${button.height} ${button.title === null ? "mr-0": "mx-2"}`} />
</div>
))}
<div
>
{selectedButton?.components}
@ -41,7 +40,6 @@ EditButtons.defaultProps = {
title: null,
textColor: null,
backgroundColor: "#F3F8FF",
// components: " tannaz1",
components: <GlobalFilter />,
},
@ -52,8 +50,7 @@ EditButtons.defaultProps = {
title: null,
textColor: null,
backgroundColor: "#F3F8FF",
components: " tannaz1",
},
components: "a", },
{
logo: settings,
width: "w-5",
@ -61,8 +58,7 @@ EditButtons.defaultProps = {
title: null,
textColor: null,
backgroundColor: "#F3F8FF",
components: "mahdi ",
components: "b",
},
{
logo: arrow,
@ -71,8 +67,7 @@ EditButtons.defaultProps = {
title: 'عملیات',
textColor: "text-blue-400",
backgroundColor: "#F3F8FF",
components: "tannaz",
components: "c",
},
{
logo: plus,
@ -81,8 +76,7 @@ EditButtons.defaultProps = {
title: 'ثبت جدید',
textColor: "text-white",
backgroundColor: "#65A9FF",
components: "mahdi",
components: "d",
},
]
}

Loading…
Cancel
Save