'use strict';

var apiCore = require('@rss3/api-core');
var reactQuery = require('@tanstack/react-query');

function useGetChipSvgSrc(params, options) {
  const queryKey = ["useGetChipSvgSrc", params];
  const query = reactQuery.useQuery({
    queryKey,
    queryFn: () => {
      const args = Array.isArray(params) ? params : [params];
      return apiCore.getChipSvgSrc(...args);
    },
    ...options
  });
  return {
    ...query,
    queryKey
  };
}

exports.useGetChipSvgSrc = useGetChipSvgSrc;
//# sourceMappingURL=use-get-chip-svg-src.cjs.map
//# sourceMappingURL=use-get-chip-svg-src.cjs.map