Skip to content

[Enhancement] Support CSS values for defaultSize, maxSize & minSize  #277

@11xdeveloper

Description

@11xdeveloper

The Panel component should be able to take CSS values for defaultSize, maxSize & minSize

e.g.

// ...
<Panel
    defaultSize='10svw'
    {/* ... */}
>
// ...

Much more convenient not having to use window.innerWidth / window.innerHeight.

As well as more accurate when it comes to newer values such as dvw, dvh, swv, svh, etc.

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