change color excel button
This commit is contained in:
@@ -53,12 +53,12 @@ const PrintExcel = ({ table, filterData }) => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{isMobile ? (
|
{isMobile ? (
|
||||||
<IconButton aria-label="خروجی اکسل" color="primary" onClick={clickHandler}>
|
<IconButton aria-label="خروجی اکسل" color="success" onClick={clickHandler}>
|
||||||
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
) : (
|
) : (
|
||||||
<Button
|
<Button
|
||||||
color="primary"
|
color="success"
|
||||||
variant="contained"
|
variant="contained"
|
||||||
size="small"
|
size="small"
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
|
|||||||
@@ -50,12 +50,12 @@ const PrintExcel = ({ table, filterData }) => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{isMobile ? (
|
{isMobile ? (
|
||||||
<IconButton aria-label="خروجی اکسل" color="primary" onClick={clickHandler}>
|
<IconButton aria-label="خروجی اکسل" color="success" onClick={clickHandler}>
|
||||||
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
) : (
|
) : (
|
||||||
<Button
|
<Button
|
||||||
color="primary"
|
color="success"
|
||||||
variant="contained"
|
variant="contained"
|
||||||
size="small"
|
size="small"
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
|
|||||||
@@ -52,12 +52,12 @@ const PrintExcel = ({ table, filterData }) => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{isMobile ? (
|
{isMobile ? (
|
||||||
<IconButton aria-label="خروجی اکسل" color="primary" onClick={clickHandler}>
|
<IconButton aria-label="خروجی اکسل" color="success" onClick={clickHandler}>
|
||||||
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
) : (
|
) : (
|
||||||
<Button
|
<Button
|
||||||
color="primary"
|
color="success"
|
||||||
variant="contained"
|
variant="contained"
|
||||||
size="small"
|
size="small"
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
|
|||||||
@@ -52,12 +52,12 @@ const PrintExcel = ({ table, filterData }) => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{isMobile ? (
|
{isMobile ? (
|
||||||
<IconButton aria-label="خروجی اکسل" color="primary" onClick={clickHandler}>
|
<IconButton aria-label="خروجی اکسل" color="success" onClick={clickHandler}>
|
||||||
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
) : (
|
) : (
|
||||||
<Button
|
<Button
|
||||||
color="primary"
|
color="success"
|
||||||
variant="contained"
|
variant="contained"
|
||||||
size="small"
|
size="small"
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
|
|||||||
@@ -52,12 +52,12 @@ const PrintExcel = ({ table, filterData }) => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{isMobile ? (
|
{isMobile ? (
|
||||||
<IconButton aria-label="خروجی اکسل" color="primary" onClick={clickHandler}>
|
<IconButton aria-label="خروجی اکسل" color="success" onClick={clickHandler}>
|
||||||
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
) : (
|
) : (
|
||||||
<Button
|
<Button
|
||||||
color="primary"
|
color="success"
|
||||||
variant="contained"
|
variant="contained"
|
||||||
size="small"
|
size="small"
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
|
|||||||
@@ -53,12 +53,12 @@ const PrintExcel = ({ table, filterData }) => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{isMobile ? (
|
{isMobile ? (
|
||||||
<IconButton aria-label="خروجی اکسل" color="primary" onClick={clickHandler}>
|
<IconButton aria-label="خروجی اکسل" color="success" onClick={clickHandler}>
|
||||||
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
) : (
|
) : (
|
||||||
<Button
|
<Button
|
||||||
color="primary"
|
color="success"
|
||||||
variant="contained"
|
variant="contained"
|
||||||
size="small"
|
size="small"
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
|
|||||||
@@ -56,12 +56,12 @@ const PrintExcel = ({ table, filterData }) => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{isMobile ? (
|
{isMobile ? (
|
||||||
<IconButton aria-label="خروجی اکسل" color="primary" onClick={clickHandler}>
|
<IconButton aria-label="خروجی اکسل" color="success" onClick={clickHandler}>
|
||||||
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
) : (
|
) : (
|
||||||
<Button
|
<Button
|
||||||
color="primary"
|
color="success"
|
||||||
variant="contained"
|
variant="contained"
|
||||||
size="small"
|
size="small"
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
|
|||||||
@@ -55,12 +55,12 @@ const PrintExcel = ({ table, filterData }) => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{isMobile ? (
|
{isMobile ? (
|
||||||
<IconButton aria-label="خروجی اکسل" color="primary" onClick={clickHandler}>
|
<IconButton aria-label="خروجی اکسل" color="success" onClick={clickHandler}>
|
||||||
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
) : (
|
) : (
|
||||||
<Button
|
<Button
|
||||||
color="primary"
|
color="success"
|
||||||
variant="contained"
|
variant="contained"
|
||||||
size="small"
|
size="small"
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
|
|||||||
@@ -51,12 +51,12 @@ const PrintExcel = ({ table, filterData }) => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{isMobile ? (
|
{isMobile ? (
|
||||||
<IconButton aria-label="خروجی اکسل" color="primary" onClick={clickHandler}>
|
<IconButton aria-label="خروجی اکسل" color="success" onClick={clickHandler}>
|
||||||
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
) : (
|
) : (
|
||||||
<Button
|
<Button
|
||||||
color="primary"
|
color="success"
|
||||||
variant="contained"
|
variant="contained"
|
||||||
size="small"
|
size="small"
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
|
|||||||
@@ -52,12 +52,12 @@ const PrintExcel = ({ table, filterData }) => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{isMobile ? (
|
{isMobile ? (
|
||||||
<IconButton aria-label="خروجی اکسل" color="primary" onClick={clickHandler}>
|
<IconButton aria-label="خروجی اکسل" color="success" onClick={clickHandler}>
|
||||||
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
) : (
|
) : (
|
||||||
<Button
|
<Button
|
||||||
color="primary"
|
color="success"
|
||||||
variant="contained"
|
variant="contained"
|
||||||
size="small"
|
size="small"
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
|
|||||||
@@ -50,12 +50,12 @@ const PrintExcel = ({ table, filterData }) => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{isMobile ? (
|
{isMobile ? (
|
||||||
<IconButton aria-label="خروجی اکسل" color="primary" onClick={clickHandler}>
|
<IconButton aria-label="خروجی اکسل" color="success" onClick={clickHandler}>
|
||||||
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
) : (
|
) : (
|
||||||
<Button
|
<Button
|
||||||
color="primary"
|
color="success"
|
||||||
variant="contained"
|
variant="contained"
|
||||||
size="small"
|
size="small"
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
|
|||||||
@@ -52,12 +52,12 @@ const PrintExcel = ({ table, filterData }) => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{isMobile ? (
|
{isMobile ? (
|
||||||
<IconButton aria-label="خروجی اکسل" color="primary" onClick={clickHandler}>
|
<IconButton aria-label="خروجی اکسل" color="success" onClick={clickHandler}>
|
||||||
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
) : (
|
) : (
|
||||||
<Button
|
<Button
|
||||||
color="primary"
|
color="success"
|
||||||
variant="contained"
|
variant="contained"
|
||||||
size="small"
|
size="small"
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
|
|||||||
@@ -52,12 +52,12 @@ const PrintExcel = ({ table, filterData }) => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{isMobile ? (
|
{isMobile ? (
|
||||||
<IconButton aria-label="خروجی اکسل" color="primary" onClick={clickHandler}>
|
<IconButton aria-label="خروجی اکسل" color="success" onClick={clickHandler}>
|
||||||
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
) : (
|
) : (
|
||||||
<Button
|
<Button
|
||||||
color="primary"
|
color="success"
|
||||||
variant="contained"
|
variant="contained"
|
||||||
size="small"
|
size="small"
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
|
|||||||
@@ -50,12 +50,12 @@ const PrintExcel = ({ table, filterData }) => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{isMobile ? (
|
{isMobile ? (
|
||||||
<IconButton aria-label="خروجی اکسل" color="primary" onClick={clickHandler}>
|
<IconButton aria-label="خروجی اکسل" color="success" onClick={clickHandler}>
|
||||||
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
) : (
|
) : (
|
||||||
<Button
|
<Button
|
||||||
color="primary"
|
color="success"
|
||||||
variant="contained"
|
variant="contained"
|
||||||
size="small"
|
size="small"
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
|
|||||||
@@ -48,12 +48,12 @@ const PrintExcel = ({ table, filterData }) => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{isMobile ? (
|
{isMobile ? (
|
||||||
<IconButton aria-label="خروجی اکسل" color="primary" onClick={clickHandler}>
|
<IconButton aria-label="خروجی اکسل" color="success" onClick={clickHandler}>
|
||||||
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
) : (
|
) : (
|
||||||
<Button
|
<Button
|
||||||
color="primary"
|
color="success"
|
||||||
variant="contained"
|
variant="contained"
|
||||||
size="small"
|
size="small"
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
|
|||||||
@@ -48,12 +48,12 @@ const PrintExcel = ({ table, filterData }) => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{isMobile ? (
|
{isMobile ? (
|
||||||
<IconButton aria-label="خروجی اکسل" color="primary" onClick={clickHandler}>
|
<IconButton aria-label="خروجی اکسل" color="success" onClick={clickHandler}>
|
||||||
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
) : (
|
) : (
|
||||||
<Button
|
<Button
|
||||||
color="primary"
|
color="success"
|
||||||
variant="contained"
|
variant="contained"
|
||||||
size="small"
|
size="small"
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
|
|||||||
@@ -52,12 +52,12 @@ const PrintExcel = ({ table, filterData }) => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{isMobile ? (
|
{isMobile ? (
|
||||||
<IconButton aria-label="خروجی اکسل" color="primary" onClick={clickHandler}>
|
<IconButton aria-label="خروجی اکسل" color="success" onClick={clickHandler}>
|
||||||
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
<DescriptionIcon sx={{ fontSize: "25px" }} />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
) : (
|
) : (
|
||||||
<Button
|
<Button
|
||||||
color="primary"
|
color="success"
|
||||||
variant="contained"
|
variant="contained"
|
||||||
size="small"
|
size="small"
|
||||||
disabled={loading}
|
disabled={loading}
|
||||||
|
|||||||
Reference in New Issue
Block a user