text: import React from "react";
  import { objectToQueryString } from "../objectToQueryString";
  import { Link } from "react-router-dom";
  
  export const RouterButton = ({
    queryParams,
    pathname,
    children,
    disabled,
  }) => (
    <Link
      className={disabled ? "disabled" : ""}
      role="button"
      to={{
        pathname: pathname,
        search: objectToQueryString(queryParams),
      }}
    >
      {children}
    </Link>
  );
  