Skip to content

React 19, broken typesΒ #17

@cherepanov

Description

@cherepanov

Attributes onPointerEnterCapture, onPointerLeaveCapture are deleted in @react/types
But they present in generated code

Type '{ color: string; }' is missing the following properties from type 'Pick<SVGProps<SVGSVGElement>, "string" | "children" | "transform" | "mode" | "method" | "type" | "key" | "id" | "name" | "operator" | "local" | "filter" | ... 456 more ... | "onPointerLeaveCapture">': onPointerEnterCapture, onPointerLeaveCapture

return <RemindFillIcon color="#f5a623"/>

Reproduction

import RemindFillIcon from '@rsuite/icons/esm/icons/status/RemindFill.js'

const WarningButton = () => {
  return <RemindFillIcon color="#f5a623"/>
}

Related

ant-design/ant-design#47886

facebook/react#17883

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