Skip to content

RangeProps.pushable should have type boolean | number #654

Closed

Description

@jkkjonah

Currently RangeProps prop pushable is typed as a boolean only. According to the documentation and source code it does support number values and should be updated accordingly

Activity

  1. schoenwaldnils commented on Nov 19, 2020

    @schoenwaldnils
    Contributor

    This is my workaround until this is fixed:

    const RangeWithFixedPushable = Range as React.ComponentClass<
      Omit<RangeProps, 'pushable'> & { pushable?: number | boolean }
    >;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions