Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SplitterPanel is not exported in TypeScript #1795

Closed
ChristianPraiss opened this issue Feb 1, 2021 · 1 comment
Closed

SplitterPanel is not exported in TypeScript #1795

ChristianPraiss opened this issue Feb 1, 2021 · 1 comment
Assignees
Labels
Type: Bug Issue contains a defect related to a specific component.
Milestone

Comments

@ChristianPraiss
Copy link

I'm submitting a ... (check one with "x")

[ x] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57

Current behavior

When trying to use Splitter with typescript, the export for SplitterPanel is missing from the type definitions
import { Splitter, SplitterPanel } from "primereact/splitter";

Expected behavior

SplitterPanel can be imported from the "primereact/splitter" module

  • React version:

^17.0.1

  • PrimeReact version:

^6.0.1

  • Language: [TypeScript 6.14.10]
@mertsincan mertsincan self-assigned this Feb 3, 2021
@mertsincan mertsincan added the Type: Bug Issue contains a defect related to a specific component. label Feb 3, 2021
@mertsincan mertsincan added this to the 6.0.2 milestone Feb 3, 2021
@mertsincan
Copy link
Member

Thanks a lot for the report.

Best Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a defect related to a specific component.
Projects
None yet
Development

No branches or pull requests

2 participants