1.0.2 • Published 4 months ago
react-calendar-customize-navigation2 v1.0.2
react-calendar-customize-navigation2
一个为React应用定制的日历组件,导航功能自定义版2。
Original Author Information 原作者信息
- Original Project: react-calendar
- Author: Wojciech Maj
本项目基于Wojciech Maj的工作进行定制开发。感谢原作者的开源分享和辛勤工作。
Important Notice 重要提示
此版本(react-calendar-customize-navigation2
)由个人用户根据原版进行个性化修改,主要用于个人用途。由于资源和时间限制,该版本不会得到持续更新或bug修复。如果您需要稳定、可靠的版本,请直接从Wojciech Maj的官方仓库下载最新源码并使用。
If you encounter any issues or need support, please consider reaching out directly to the original author. This version is provided as-is and will not be actively maintained.
如果您遇到任何问题或需要支持,请直接联系原作者获取帮助。本版本按“现状”提供,不保证后续维护和支持。
Quick Start 快速开始
Compatibility 兼容性
确保您的项目使用的是React 16.8或更高版本。
Installation 安装
通过npm安装:
npm install react-calendar-customize-navigation2
或 / or
yarn add react-calendar-customize-navigation2
基本使用 / Basic Usage
import { useState } from 'react';
import Calendar from 'react-calendar-customize-navigation2';
// 组件代码...
New Props
Prop name | Description | Default value | Example values |
---|---|---|---|
headLeftLabel | 显示在navigation 左边位置的React.ReactNode;The React displayed on the left side of navigation ReactNode | headLeftLabel={(<div>Test 1234</div>)} |
更多高级用法,请参阅原项目 react-calendar
License
The MIT License.
贡献
感谢Wojciech Maj, 感谢所有为此项目做出贡献的人!