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

Loading…
Cancel
Save