You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To use the icon ...shape="pdf-file"... I noticed it had to be imported from import { pdfFileIcon } from "@cds/core/icon/shapes/pdf-file";
I would have assumed I would have been able to import it from "@cds/core/icon" like other icons.
The documents should be updated to clearly show where to import the pdf icon from or better still it would be great to be able to import the icon via the path "@cds/core/icon" like other icons.
This caused a bit of confusion for me yesterday and it would be great to rectify this.
The text was updated successfully, but these errors were encountered:
To use the icon
...shape="pdf-file"...
I noticed it had to be imported fromimport { pdfFileIcon } from "@cds/core/icon/shapes/pdf-file";
I would have assumed I would have been able to import it from "@cds/core/icon" like other icons.
The documents should be updated to clearly show where to import the pdf icon from or better still it would be great to be able to import the icon via the path "@cds/core/icon" like other icons.
This caused a bit of confusion for me yesterday and it would be great to rectify this.
The text was updated successfully, but these errors were encountered: