Skip to content

Commit

Permalink
Merge pull request #19 from quarkly/add-hyphens-property
Browse files Browse the repository at this point in the history
Add supported new property
  • Loading branch information
Mobydack authored Aug 13, 2020
2 parents 253ae0f + 4ae3323 commit 622da8e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/aliases.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,4 +237,5 @@ Atomize aliases are short names for each css rule
| *word-wrap* | `wow` |
| *overflow-wrap* | `none` |
| *zoom* | `zom` |
| *fill* | `fil` |
| *fill* | `fil` |
| *hyphens* | `hphs` |
1 change: 1 addition & 0 deletions src/constants/dict.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 622da8e

Please sign in to comment.