Skip to content

Can't import chart props type: Module '"recharts"' has no exported member 'LineChartProps' #3619

@tran-simon

Description

@tran-simon
  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

import "LineChartProps" or any other props type

What is expected?

You should be able to import a props type in order to create custom components and extend the props type

What is actually happening?

Module '"recharts"' has no exported member 'LineChartProps'.

Environment Info
Recharts v2.5.0
React 16.8.6
System codesandbox
Browser Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestIssues that are feature requeststypescriptPRs or Issues surrounding Types or TS refactoring

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions