Skip to content

Commit

Permalink
docs: fix for icons now showing in docs (#161)
Browse files Browse the repository at this point in the history
icons used inside the live code blocks were having several of there props including className
stripped. This was causing them to be rendered with 0 width and height

HEYUI-258
  • Loading branch information
nathanjamal authored Mar 13, 2023
1 parent f8cb163 commit abad885
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
2 changes: 2 additions & 0 deletions .storybook/scope.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import * as knobs from '@storybook/addon-knobs';
import * as dateUtils from 'date-fns';

import * as grid from './blocks/Grid';
import * as AllIcons from '../packages/icons/src';

const componentsContext = require.context(
'../packages',
Expand Down Expand Up @@ -31,4 +32,5 @@ export default {
...grid,
...dateUtils,
...knobs,
...AllIcons,
};
24 changes: 12 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 comment on commit abad885

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 97.7% 1188/1216
🟢 Branches 85.53% 266/311
🟢 Functions 94.79% 91/96
🟢 Lines 98.27% 1082/1101

Test suite run success

273 tests passing in 41 suites.

Report generated by 🧪jest coverage report action from abad885

Please sign in to comment.