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

Typescript timeSlotWrapper has no defined prop type #2695

Closed
4 of 5 tasks
goskan93 opened this issue Dec 15, 2024 · 1 comment
Closed
4 of 5 tasks

Typescript timeSlotWrapper has no defined prop type #2695

goskan93 opened this issue Dec 15, 2024 · 1 comment
Labels

Comments

@goskan93
Copy link

Check that this is really a bug

  • I confirm

Reproduction link

.

Bug description

interface for components looks like this

export interface Components<TEvent extends object = Event, TResource extends object = object> {
    event?: React.ComponentType<EventProps<TEvent>> | undefined;
    eventWrapper?: React.ComponentType<EventWrapperProps<TEvent>> | undefined;
    eventContainerWrapper?: React.ComponentType | undefined;
    dateCellWrapper?: React.ComponentType<DateCellWrapperProps> | undefined;
    dayColumnWrapper?: React.ComponentType | undefined;

    timeSlotWrapper?: React.ComponentType | undefined;
   ... and so on
}

the time slot wrapper has no component props defined

"@types/react-big-calendar": "^1.16.0",

Expected Behavior

Expecting to get access to the props.

Actual Behavior

No response

react-big-calendar version

1.16.3

React version

18.2.0

Platform/Target and Browser Versions

windows 11

Validations

  • Read the docs.
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
  • Make sure this is a react-big-calendar issue and not an implementation issue

Would you like to open a PR for this bug?

  • I'm willing to open a PR
@goskan93 goskan93 added the bug label Dec 15, 2024
@cutterbl
Copy link
Collaborator

At this time all TS types are managed directly by DefinitivelyTyped. Changes to TS types must be submitted there, as the Big Calendar team does not manage them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants