-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
609af23
commit e0e0adb
Showing
8 changed files
with
161 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es2018", | ||
"lib": ["dom", "dom.iterable", "esnext"], | ||
"allowJs": true, | ||
"skipLibCheck": true, | ||
"strict": false, | ||
"forceConsistentCasingInFileNames": true, | ||
"esModuleInterop": true, | ||
"module": "esnext", | ||
"moduleResolution": "node", | ||
"resolveJsonModule": true, | ||
"isolatedModules": true, | ||
"jsx": "react", | ||
"noEmit": true, | ||
"baseUrl": "." | ||
}, | ||
"include": ["**/*.ts", "**/*.tsx"], | ||
"exclude": ["node_modules", "dist"] | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"getting-started": { | ||
"title": "Getting Started", | ||
"href": "/getting-started" | ||
}, | ||
"-- API": { | ||
"type": "separator", | ||
"title": "API" | ||
}, | ||
"Calendar": { | ||
"title": "Calendar", | ||
"href": "/calendar" | ||
}, | ||
"DateInput": { | ||
"title": "DateInput", | ||
"href": "/date-input" | ||
}, | ||
"TimeInput": { | ||
"title": "timeInput", | ||
"href": "/time-input" | ||
}, | ||
"DatePicker": { | ||
"title": "DatePicker", | ||
"href": "/date-picker" | ||
}, | ||
"DateRangePicker": { | ||
"title": "DateRangePicker", | ||
"href": "/date-range-picker" | ||
}, | ||
"-- More": { | ||
"type": "separator", | ||
"title": "Guides" | ||
}, | ||
"styling": { | ||
"title": "Styling", | ||
"href": "/styling" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
import { Card, Cards, Steps, Tab, Tabs } from 'nextra-theme-docs'; | ||
|
||
# Getting Started | ||
|
||
React Calendar Kit is a powerful and flexible library for building accessible and highly customizable calendar and date/time picker components in your React applications. Built on top of the robust accessibility features of the [@react-aria](https://react-spectrum.adobe.com/react-aria/index.html) library, React Calendar Kit provides a solid foundation for creating inclusive user experiences. | ||
|
||
<Steps> | ||
### Install | ||
|
||
<Tabs items={['pnpm', 'npm', 'yarn', 'bun']}> | ||
<Tab> | ||
```bash | ||
pnpm i react-calendar-kit | ||
``` | ||
|
||
</Tab> | ||
<Tab> | ||
```bash | ||
npm i react-calendar-kit | ||
``` | ||
</Tab> | ||
<Tab> | ||
```bash | ||
yarn add react-calendar-kit | ||
``` | ||
</Tab> | ||
<Tab> | ||
```bash | ||
bun add react-calendar-kit | ||
``` | ||
</Tab> | ||
</Tabs> | ||
|
||
### Add Calendar to your app | ||
|
||
It can be placed anywhere, even in server components such as `layout.tsx`. | ||
|
||
```tsx | ||
export default function RootLayout({ children }: { children: React.ReactNode }) { | ||
return ( | ||
<html lang="en"> | ||
<body>{children}</body> | ||
</html> | ||
); | ||
} | ||
``` | ||
|
||
</Steps> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters