Skip to content

Provide visible years range in renderCustomHeader method #5644

@Luftare

Description

@Luftare

Is your feature request related to a problem? Please describe.
I'd like to develop a custom header using showYearPicker with information about the visible year range. The visible years range is not currently provided in the renderCustomHeader props.

Check out a sandbox:
https://stackblitz.com/edit/vitejs-vite-cyahbe6y?file=src%2FApp.tsx&terminal=dev

Describe the solution you'd like
Include props.yearRange: Int[] or props.visibleYearsRangeStart: Int and props.visibleYearsRangeEnd: Int.

Describe alternatives you've considered
Styling the default header doesn't seem to provide necessary flexibility.

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