Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Allow element type of wrapper to be configurable #72

Description

@elisechant

Problem

To use this module within svg, we need to be able to use <g> instead of <div> for wrappers.

Expected

Make

configurable at https://github.com/digidem/react-dimensions/blob/master/index.jsx#L170 to other DOM element types

Code in question

 return (
          <div style={wrapperStyle} ref='wrapper'>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions