🌈 style(eslint): add eslint rules
This commit is contained in:
@@ -13,11 +13,10 @@ interface Props {
|
||||
}
|
||||
|
||||
export default memo((props: Props) => {
|
||||
let { showTime = false, closePopup, start = '', end = '', onSelectDate } = props
|
||||
const { showTime = false, closePopup, start = '', end = '', onSelectDate } = props
|
||||
|
||||
|
||||
return (
|
||||
<Popup title={'选择时间'} show={showTime} onClose={() => closePopup?.()}>
|
||||
<Popup title="选择时间" show={showTime} onClose={() => closePopup?.()}>
|
||||
<TimePicker start={start} end={end} onSelectDate={onSelectDate}></TimePicker>
|
||||
</Popup>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user