From 4ae3323f01890890e389c17f05277ba4e0860419 Mon Sep 17 00:00:00 2001 From: Mobydack Date: Thu, 13 Aug 2020 15:53:30 +0300 Subject: [PATCH] feat: add supported new property --- docs/aliases.md | 3 ++- src/constants/dict.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/aliases.md b/docs/aliases.md index 7c52f83..d276822 100644 --- a/docs/aliases.md +++ b/docs/aliases.md @@ -237,4 +237,5 @@ Atomize aliases are short names for each css rule | *word-wrap* | `wow` | | *overflow-wrap* | `none` | | *zoom* | `zom` | -| *fill* | `fil` | \ No newline at end of file +| *fill* | `fil` | +| *hyphens* | `hphs` | \ No newline at end of file diff --git a/src/constants/dict.js b/src/constants/dict.js index 1d6362e..9bba39f 100644 --- a/src/constants/dict.js +++ b/src/constants/dict.js @@ -274,6 +274,7 @@ const dict = { 'overflow-wrap': { type: 'string' }, zoom: { alias: 'zom', type: 'string' }, fill: { alias: 'fil', type: 'string' }, + hyphens: { alias: 'hphs', type: 'string' }, }; export const hashPropsWithAliases = Object.keys(dict).reduce((acc, name) => {