'use strict';

const display = {
  property: "display",
  transform: (value) => {
    const propertyValues = ["flex", "block", "inline", "none"];
    if (propertyValues.includes(value))
      return value;
    throw new Error("Prop not valid");
  },
};

exports.default = display;
