properties
changelog

Resize Text Area

Control textarea resize behavior.

Usage:

  • @form resize-*;

Reference

shilp.config.js
/** @type {import('shilpcss/types').ShilpConfig} */
const shilpConfig = {
  source: "react",

  properties: {
    form: {
      // text-area
      resize: {
        property: "resize: <v><i>;",
        values: {
          none: "none",
          DEFAULT: "both",
          x: "horizontal",
          y: "vertical",
          block: "block",
          inline: "inline",
        },
      },
    },
  },
};

export default shilpConfig;

Published at:

Last updated at: