This PR updates the Artwork component with the following changes:
moves all types to a shared types file
adds support for setting any ArtworkStyleProperties via inline component props
adds a story file for Artwork - examples of Artwork are now displayed in the docs 🥳
updates the Tile and CardContent to work with the refactored Artwork
Also open to any feedback on the separate types file setup. Some of our other projects use this setup and, as our types get more complex, it felt more maintainable
Description
This PR updates the Artwork component with the following changes:
types
fileArtworkStyleProperties
via inline component propsAlso open to any feedback on the separate
types
file setup. Some of our other projects use this setup and, as our types get more complex, it felt more maintainableTesting
ensure Artwork renders as expected