1.2.1 • Published 3 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
3 years ago
1.1.9
3 years ago
1.2.1
3 years ago
1.1.1
3 years ago
1.0.2
3 years ago
1.1.0
3 years ago
1.1.8
3 years ago
1.0.9
3 years ago
1.1.7
3 years ago
1.0.8
3 years ago
1.1.6
3 years ago
1.0.7
3 years ago
1.1.5
3 years ago
1.0.6
3 years ago
1.1.4
3 years ago
1.0.5
3 years ago
1.1.3
3 years ago
1.0.4
3 years ago
1.1.2
3 years ago
1.0.3
3 years ago
1.0.1
3 years ago
1.0.0
3 years ago