Clay: Components shouldn't have spritemap as a required prop

Created on 28 Jun 2021  路  1Comment  路  Source: liferay/clay

When using ClayIconSpriteContext we no longer need to pass spritemap to individual components that are children to the ClayIconSpriteContext. This isn't reflected in the way our API is built for some of our components.

Some components, like CardWithInfo聽 and CardWithHorizontal have the spritemap聽prop set as required, which should be not required.

Whoever tackles this issue needs to go through the documentation on the website and change the required state of the spritemap prop from true to false.

bug

Most helpful comment

Fix for this should already be merged and available in the next release. https://github.com/liferay/clay/issues/4139

>All comments

Fix for this should already be merged and available in the next release. https://github.com/liferay/clay/issues/4139

Was this page helpful?
0 / 5 - 0 ratings

Related issues

brunofarache picture brunofarache  路  5Comments

bryceosterhaus picture bryceosterhaus  路  5Comments

pat270 picture pat270  路  4Comments

julien picture julien  路  3Comments

bryceosterhaus picture bryceosterhaus  路  4Comments