Skip to content

Add support to use 100% of container #21

@LeoNero

Description

@LeoNero

Based on #20 , it is a good idea to implement the option to use 100% of the container.
The suggested usage is as follows:

<Zoom
  img=""
  zoomScale={3}
  height={600}
  width="100%" // use 100% of the container
  transitionTime = {0.5}
 />

"width" would receive either a string (which would contain how much % the user would like to set the width), or a number, which would be the size of the width in pixels.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions