We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This issue appears to be due to a change to export within Octicons.js. Previously, the export was as follows..
module.exports = { list: list, keys: pluck(list, 'value'), map: map };
It has since been changed to..
export const Octicon = { list: list, keys: pluck(list, 'value'), map: map };
Therefore, changes are required in the Glyph.js and FormIconField.js source files to accommodate the extra object level that was introduced (Octicon).
from: const ICON_MAP = require('../Octicons').map; const ICON_KEYS = require('../Octicons').keys; to: const ICON_MAP = require('../Octicons').Octicon.map; const ICON_KEYS = require('../Octicons').Octicon.keys;
from: const icons = require('../Octicons').map; const validNames = require('../Octicons').keys; to: const icons = require('../Octicons').Octicon.map; const validNames = require('../Octicons').Octicon.keys;
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This issue appears to be due to a change to export within Octicons.js. Previously, the export was as follows..
module.exports = {
list: list,
keys: pluck(list, 'value'),
map: map
};
It has since been changed to..
export const Octicon = {
list: list,
keys: pluck(list, 'value'),
map: map
};
Therefore, changes are required in the Glyph.js and FormIconField.js source files to accommodate the extra object level that was introduced (Octicon).
from:
const ICON_MAP = require('../Octicons').map;
const ICON_KEYS = require('../Octicons').keys;
to:
const ICON_MAP = require('../Octicons').Octicon.map;
const ICON_KEYS = require('../Octicons').Octicon.keys;
from:
const icons = require('../Octicons').map;
const validNames = require('../Octicons').keys;
to:
const icons = require('../Octicons').Octicon.map;
const validNames = require('../Octicons').Octicon.keys;
The text was updated successfully, but these errors were encountered: