File tree 1 file changed +3
-8
lines changed
1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change 1
1
# React Tailwindcss Datepicker
2
2
3
- <p style = " text-align : center " >
3
+ <p align = " center " >
4
4
<a href="https://react-tailwindcss-datepicker.vercel.app/" target="_blank">
5
5
<img alt="React Tailwindcss Datepicker" width="100" style="border-radius: 100%;" src="https://raw.githubusercontent.com/onesine/react-tailwindcss-datepicker/master/assets/img/calendar_logo.svg?raw=true">
6
6
</a><br><br>
7
7
A modern date range picker component for React using Tailwind 3 and dayjs. Alternative to Litepie Datepicker which uses Vuejs.
8
8
</p >
9
9
10
- <div style = " text-align : center " >
10
+ <div align = " center " >
11
11
12
12
[ ![ npm version] ( https://img.shields.io/npm/v/react-tailwindcss-datepicker?style=flat-square )] ( https://www.npmjs.com/package/react-tailwindcss-datepicker )
13
13
[ ![ npm downloads] ( https://img.shields.io/npm/dt/react-tailwindcss-datepicker?style=flat-square )] ( https://www.npmjs.com/package/react-tailwindcss-datepicker )
@@ -99,12 +99,7 @@ const App = () => {
99
99
100
100
return (
101
101
<div >
102
- <Datepicker
103
- value = { value }
104
- onChange = { newValue => {
105
- setValue (newValue );
106
- }}
107
- />
102
+ <Datepicker value = { value } onChange = { newValue => setValue (newValue )} />
108
103
</div >
109
104
);
110
105
};
You can’t perform that action at this time.
0 commit comments