Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
datepicker-popup
{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
You can’t perform that action at this time.