packages/components/psammead-brand/src/index.stories.jsx
Function inputs
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const inputs = (service = 'news') => {
const options = Object.keys(svgs).filter(key => key !== 'BBC_BLOCKS');
const svgChoice = select('Service SVG', options, service).toLowerCase();
const productInput = text('Product', 'BBC News');
const serviceLocalisedNameInput = text('Localised service name', 'Yoruba');