Skip to content
项目

msnegurski/tailwind-react-datepicker

在 GitHub 查看

关于

React-datepicker styled with Tailwind CSS. Not a package.

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Why this exists

This is how you can make datepicker in React with react-datepicker and style this in Tailwind.

By the time of making this, datepicker for Headless UI didn't exist, and there were no docs on any popular react datepicker library about how to make it work with Tailwind.

As a result I spent fuckton of time inspecting classes in Chrome devtools and styling them in Tailwind manually. I think I made a decent job and hope it saves someone some time.

This is not a package, just some code for you to get idea how to do it in your project.

探索相关项目

加载中…