'use strict';

const templateRows = {
  property: "grid-template-rows",
  transform: (value) => {
    if (isNaN(value) && value !== "none")
      throw new Error("Prop not valid");
    return value === "none" ? "none" : `repeat(${value}, minmax(0, 1fr))`;
  },
};

exports.default = templateRows;
