forked from mui/material-ui
-
Notifications
You must be signed in to change notification settings - Fork 2
/
navigationMap.ts
55 lines (54 loc) · 1.88 KB
/
navigationMap.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import PropTypesDoc from '../../prop-types.json';
export const navItems = [
{
title: 'Getting Started',
children: [
{ title: 'Installation', href: '/getting-started/installation' },
{ title: 'Usage', href: '/getting-started/usage' },
{ title: 'Parsing dates', href: '/getting-started/parsing' },
],
},
{
title: 'Localization',
children: [
{ title: 'Using date-fns', href: '/localization/date-fns' },
{ title: 'Using moment', href: '/localization/moment' },
{ title: 'Additional Calendar Systems', href: '/localization/calendar-systems' },
],
},
{
title: 'Components Demo',
children: [
{ title: 'Date Picker', href: '/demo/datepicker' },
{ title: 'Date Range Picker', href: '/demo/daterangepicker' },
{ title: 'Time Picker', href: '/demo/timepicker' },
{ title: 'Date & Time Picker', href: '/demo/datetime-picker' },
],
},
{
title: 'Components API',
children: Object.keys(PropTypesDoc)
.filter(component => !component.match(/^(Mobile|Desktop|Static)/))
.map(component => ({
title: component,
as: `/api/${component}`,
href: `/api/props?component=${component}`,
})),
},
{
title: 'Guides',
children: [
{ title: 'Accessibility', href: '/guides/accessibility' },
{ title: 'Form integration', href: '/guides/form-integration' },
{ title: 'CSS overrides', href: '/guides/css-overrides' },
{ title: 'Passing date adapter', href: '/guides/date-adapter-passing' },
{ title: 'Date management customization', href: '/guides/date-io-customization' },
{
title: 'Open pickers programmatically',
href: '/guides/controlling-programmatically',
},
{ title: 'Static inner components', href: '/guides/static-components' },
{ title: 'Updating to v3', href: '/guides/upgrading-to-v3' },
],
},
] as const;