From ffa5495393db4e3bda2e65dd28831a394ad93a3f Mon Sep 17 00:00:00 2001 From: lknop Date: Mon, 8 Mar 2021 12:32:51 +0100 Subject: [PATCH 1/2] Added example of codepoints definition in config --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 4f660254..5fe68b2a 100644 --- a/README.md +++ b/README.md @@ -107,6 +107,12 @@ module.exports = { pathOptions: { ts: './src/types/icon-types.ts', json: './misc/icon-codepoints.json' + }, + codepoints: { + 'chevron-left': 57344, // decimal representation of 0xe000 + 'chevron-right': 57345, + 'checkmark': 57346, + 'cross': 57347 } }; ``` From a0b05895917b9dee78a78a69f57500216bde6874 Mon Sep 17 00:00:00 2001 From: lknop Date: Mon, 8 Mar 2021 13:15:45 +0100 Subject: [PATCH 2/2] Improved formatting to satisfy linter --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5fe68b2a..3c1e8f0b 100644 --- a/README.md +++ b/README.md @@ -109,10 +109,10 @@ module.exports = { json: './misc/icon-codepoints.json' }, codepoints: { - 'chevron-left': 57344, // decimal representation of 0xe000 - 'chevron-right': 57345, - 'checkmark': 57346, - 'cross': 57347 + 'chevron-left': 57344, // decimal representation of 0xe000 + 'chevron-right': 57345, + 'thumbs-up': 57358, + 'thumbs-down': 57359 } }; ```