We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
extra
Adding an extra slot to the Calendar for customization purposes.
(props: { year: number, month: number, prev: () => void, next: () => void, today: () => void })
year\month:
year\month
naive-ui/src/calendar/src/Calendar.tsx
Line 222 in 42fd812
prev
Line 240 in 42fd812
next
Line 265 in 42fd812
today
Line 257 in 42fd812
Calendar Methods Provided by the Composition API:
prev: () => void. next: () => void. today: () => void.
prev: () => void
next: () => void
today: () => void
No response
The text was updated successfully, but these errors were encountered:
feat(calendar): add extra slot, closes tusen-ai#6648
4325ca3
Successfully merging a pull request may close this issue.
Clear and concise description of the problem
Adding an
extra
slot to the Calendar for customization purposes.Suggested solution
Calendar Slots
(props: { year: number, month: number, prev: () => void, next: () => void, today: () => void })
year\month
:naive-ui/src/calendar/src/Calendar.tsx
Line 222 in 42fd812
prev
function:naive-ui/src/calendar/src/Calendar.tsx
Line 240 in 42fd812
next
function:naive-ui/src/calendar/src/Calendar.tsx
Line 265 in 42fd812
today
function:naive-ui/src/calendar/src/Calendar.tsx
Line 257 in 42fd812
Alternative
Calendar Methods Provided by the Composition API:
prev: () => void
.next: () => void
.today: () => void
.Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: