function getIconAttrs(params) {
  const { size, width, height } = params;
  return {
    dimensions: size ? { width: size, height: size } : { width, height },
    viewBox: `0 0 ${width} ${height}`
  };
}
export {
  getIconAttrs
};
