Skip to content

Commit

Permalink
feat(icons): [publish_preview] update icon template with new imports,…
Browse files Browse the repository at this point in the history
… remove unnecessary styling boilerplate from icons template
  • Loading branch information
ByronDWall committed Dec 10, 2024
1 parent b1589ec commit 5c444e8
Show file tree
Hide file tree
Showing 156 changed files with 1,230 additions and 19,751 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ If you want to modify an existing translation, you will need to manually edit th
To add new icons in the `@commercetools-uikit/icons` package:

1. Add the raw SVG file to the `packages/components/icons/src/svg` folder. Make sure the file name ends with `.react.svg`.
2. Run the `yarn generate-icons` command to generate the React component files. The components are generated using the `svgo` CLI and the template file `packages/components/icons/src/templates/icon.styles.tsx`.
2. Run the `yarn generate-icons` command to generate the React component files. The components are generated using the `svgr` CLI and the template file in `svgr/config.js`

## Adding changesets

Expand Down
137 changes: 8 additions & 129 deletions packages/components/icons/src/generated/AngleDownReact.tsx

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

137 changes: 8 additions & 129 deletions packages/components/icons/src/generated/AngleLeftReact.tsx

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

Loading

0 comments on commit 5c444e8

Please sign in to comment.