Skip to content

Commit

Permalink
Update showcases/patternhub/scripts/get-properties-file.js
Browse files Browse the repository at this point in the history
Co-authored-by: Maximilian Franzke <[email protected]>
  • Loading branch information
nmerget and mfranzke authored Apr 11, 2024
1 parent d98c3d0 commit fb070bc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions showcases/patternhub/scripts/get-properties-file.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,7 @@ const getPropertiesFile = ({ displayName, description, props }) => {
propertyTable += `| ${property.tsType.type ?? property.tsType.name} `;

if (

Check failure on line 64 in showcases/patternhub/scripts/get-properties-file.js

View workflow job for this annotation

GitHub Actions / lint / Lint

Replace `⏎↹↹↹['icon',·'iconAfter',·'messageIcon'].includes(propertyKey)⏎↹↹` with `['icon',·'iconAfter',·'messageIcon'].includes(propertyKey)`
propertyKey === 'icon' ||
propertyKey === 'iconAfter' ||
propertyKey === 'messageIcon'
['icon', 'iconAfter', 'messageIcon'].includes(propertyKey)
) {
propertyTable += `| [IconTypes](https://db-ui.github.io/mono/review/main/foundations/icons/overview) |\n`;
} else {
Expand Down

0 comments on commit fb070bc

Please sign in to comment.