Skip to content

Split ResizableImage into two components #36

@AZielinsky95

Description

@AZielinsky95

Right now ResizableImage handles async and sync images which is great, however, ideally, the async version should allow for a generic placeholder view as well as a generic error view. Adding this functionality to the current component would cause generic constraint errors in any places that define it as a required property. Therefore, it's best we split this component into a synchronous and asynchronous version.

Proposal: NiceImage & AsyncNiceImage to fit with the naming convention of the Nice components in this lib

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions