Skip to content

Commit

Permalink
build: fix nextjs compilation failure in /docs
Browse files Browse the repository at this point in the history
  • Loading branch information
simonguo committed May 24, 2024
1 parent 23b32eb commit 6544444
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion docs/components/SideNavbar/SideNavbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ import ExternalLinkSquare from '@rsuite/icons/legacy/ExternalLinkSquare';
import { IoExtensionPuzzleOutline } from 'react-icons/io5';

import BarsIcon from '@rsuite/icons/legacy/Bars';
import { TypeAttributes } from 'rsuite/esm/@types/common';
import { TypeAttributes } from 'rsuite/esm/internals/types';

import pkg from '../../package.json';

const icons = { IoExtensionPuzzleOutline };
Expand Down
4 changes: 2 additions & 2 deletions docs/pages/components/calendar/en-US/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ Use `cellClassName` function to specify the custom class name added to each cell
<!-- prettier-sort-markdown-table -->

| Property | Type`(Default)` | Description |
| ------------- | ------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- | --- |
| ------------- | ------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| bordered | boolean | Show border |
| cellClassName | (date: Date) => string \| undefined | Custom cell classes base on it's date |
| compact | boolean | Display a compact calendar |
| defaultValue | Date | Default value |
| isoWeek | boolean | [ISO 8601 standard][iso-8601], each calendar week begins on Monday and Sunday on the seventh day |
| locale | [CalendarLocaleType](/guide/i18n/#calendar) | Locale configuration | |
| locale | [CalendarLocaleType](/guide/i18n/#calendar) | Locale configuration |
| onChange | (date: Date) => void | Callback fired before the value changed |
| onSelect | (date: Date) => void | Callback fired before the date selected |
| renderCell | (date: Date) => ReactNode | Custom render calendar cells |
Expand Down

0 comments on commit 6544444

Please sign in to comment.