Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[drag] add @vx/drag, add /drag-i demo + tile. fixes #8 #229

Merged
merged 1 commit into from
Jan 17, 2018
Merged

Conversation

hshoff
Copy link
Member

@hshoff hshoff commented Jan 16, 2018

fixes #8

🚀 Enhancements

  • [drag] add <Drag /> component

drag-i

@hshoff hshoff added this to the v0.0.154 milestone Jan 16, 2018
// "on top of" the other data items
this.setState((state, props) => {
return {
items: raise(state.items, i),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

++ the util function 🎉

static propTypes = {
children: PropTypes.func.isRequired,
captureDragArea: PropTypes.bool,
};
Copy link
Collaborator

@williaster williaster Jan 16, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might need to add svg, onDragStart / onDragEnd / onDragMove, width, and height here?

@hshoff
Copy link
Member Author

hshoff commented Jan 17, 2018

Looks like travis is having backlog issues. All tests pass locally. Going to do a prop types, tests, and docs pass tomorrow. Merging for now.

@hshoff hshoff merged commit c728146 into master Jan 17, 2018
@hshoff hshoff deleted the harry-drag branch January 17, 2018 00:32
@hshoff hshoff modified the milestones: v0.0.154, v0.0.155 Jan 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[drag] create @vx/drag
2 participants