react-date-multiple

    0.1.4 • Public • Published

    下载

    import  MultipleDatePicker  from  'react-date-multiple'
    

    实例

    enter image description here

    参数

    onCancel 取消的回调
    onSubmit 确定的回调
    selected 默认选中的
    

    使用方法

    安装antd 使用antd的popover 和input输入框
    	<Popover visible={popoverShow} onVisibleChange={this.handleVisibleChange} 
    		content={
    			<div  id="calendar_input_popover"> 
    				<MultipleDatePicker onCancel={this.handleCancel} onSubmit={this.handleSubmit} /> 
    			</div> 
    		} placement="bottomLeft" trigger="click" >
    		<Input placeholder="Basic usage" value={inputData} onClick={this.handleFocus} />
    	</Popover>
    

    Install

    npm i react-date-multiple

    DownloadsWeekly Downloads

    3

    Version

    0.1.4

    License

    MIT

    Unpacked Size

    57.2 kB

    Total Files

    15

    Last publish

    Collaborators

    • hyj96228