Created
April 9, 2019 10:28
-
-
Save bjankord/576e9e0dc43206be505b2ed3828364e2 to your computer and use it in GitHub Desktop.
datepicker-popup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{calendar && <Popup | |
attachmentBehavior="flip" | |
contentAttachment={'top center'} | |
isArrowDisplayed={true} | |
isOpen={(this.state.open && !this.props.disabled)} | |
targetAttachment={'bottom center'} | |
targetRef={() => this.datePickerContainer} | |
contentHeight="auto" | |
contentWidth="auto" | |
> | |
{calendar} | |
</Popup>} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment