import React from "react" import EvaIcon, { EvaSize } from "react-eva-icons" import { Icons } from "material-table" import { Icon } from "@material-ui/core" export default function tableIcons({ theme }: { theme: any }): Icons { const color: string = theme.bunadmin.iconColor // const disabledColor: string = "#eee" const size: EvaSize = "large" return { Add: React.forwardRef((props, ref) => ( ref} component="span"> )), Edit: React.forwardRef((props, ref) => ( ref} component="span"> )), Delete: React.forwardRef((props, ref) => ( ref} component="span"> )), Search: React.forwardRef((props, ref) => ( ref} component="span"> )), ResetSearch: React.forwardRef((props, ref) => ( ref} component="span"> )), PreviousPage: React.forwardRef((props, ref) => ( ref} component="span"> )), NextPage: React.forwardRef((props, ref) => ( ref} component="span"> )), FirstPage: React.forwardRef((props, ref) => ( ref} component="span"> )), LastPage: React.forwardRef((props, ref) => ( ref} component="span"> )), SortArrow: React.forwardRef((props, ref) => ( ref} component="span"> )) } }