1.2.1 • Published 2 years ago
ohlovely-ui v1.2.1
ohlovely-ui
Frontend lib created by Lê Văn Toàn
Install
npm install --save ohlovely-ui
Usage
import React, { Component } from 'react'
import { MonthPicker, DatePicker } from 'ohlovely-ui'
import 'ohlovely-ui/dist/index.css'
class Example extends Component {
render() {
return (
<div>
<DatePicker
renderView={(inputprops, clearButtonProps) => <div><input {...inputprops} /><button {...clearButtonProps}>clear</button></div>}
value={new Date(2022, 4, 19)}
minDate={new Date(2022, 3, 14)}
maxDate={new Date(2022, 11, 15)}
clearable
disabled={false}
/>
<MonthPicker
renderView={(inputprops, clearButtonProps) => <div><input {...inputprops} /><button {...clearButtonProps}>clear</button></div>}
value={new Date(2022, 4, 19)}
minDate={new Date(2021, 3, 14)}
maxDate={new Date(2022, 11, 15)}
clearable
disabled={false}
/>
</div>
)
}
}
License
MIT © vantoan2509
1.2.0
2 years ago
1.1.9
2 years ago
1.2.1
2 years ago
1.1.1
2 years ago
1.0.2
2 years ago
1.1.0
2 years ago
1.1.8
2 years ago
1.0.9
2 years ago
1.1.7
2 years ago
1.0.8
2 years ago
1.1.6
2 years ago
1.0.7
2 years ago
1.1.5
2 years ago
1.0.6
2 years ago
1.1.4
2 years ago
1.0.5
2 years ago
1.1.3
2 years ago
1.0.4
2 years ago
1.1.2
2 years ago
1.0.3
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago