New features
Copy pathline to clipboard button
(#485, #471 by @SaraVieira)
Easier way to override style guide React components
New config option styleguideComponents
to override React components used to render a style guide.
module.exports = {
styleguideComponents: {
Logo: path.join(__dirname, 'styleguide/components/Logo'),
StyleGuideRenderer: path.join(__dirname, 'styleguide/components/StyleGuide'),
},
};
(#504)
Customizable logging
New logger
option:
module.exports = {
logger: {
// One of: info, debug, warn
// Suppress messages
info: () => {},
// Override display function
warn: message => console.warn(`NOOOOOO: ${message}`),
},
};