Skip to content

Sometimes it is useful to use a negative value. #41

Closed
@romankrebs

Description

@romankrebs

return value >= 0
? null
: new Error(
`[${propName}] in ${componentName} is less than zero. [${propName}] must be greater than or equal to zero.`
);

I have to make a monkey patch to remove restrictions when using negative offsetMax values. Perhaps we remove these limits?
I can do PR :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions