import { SyncOutlined } from "@ant-design/icons"
import { Button } from "antd"

export const TableRefreshButton: React.FC<{ refresh: () => void }> = (props) => {
    return <div style={{ position: "relative" }}>
        <Button style={{ position: "absolute", right: "6px", top: "4px", zIndex: 999 }} icon={<SyncOutlined />} onClick={props.refresh}></Button>
    </div>
}