properties
changelog

White Space

Control white space in text.

Usage:

  • @text space-*;

Reference

shilp.config.js
const shilpConfig = {
	source: "react",

	properties: {
		text: {
			space: {
				property: "white-space: <v><i>;",
				values: {
					normal: "normal",
					nowrap: "nowrap",
					pre: {
						DEFAULT: "pre",
						line: "pre-line",
						wrap: "pre-wrap",
					},
				},
			},
		},
	},
};

export default shilpConfig;