• AutoWidth is a wrapper that takes the width of the parent component and passes it down to the children. Under the hood, it uses ParentSize from @visx/responsive.

    Note: If the child element already has a non-zero width property, the width property passed down by AutoWidth will not be applied. The child element will only be rendered once the parent has a width greater than 0, in order to prevent from rendering the component too early.

    Parameters

    Returns Element

Generated using TypeDoc