Skip to content
This repository was archived by the owner on Jun 18, 2018. It is now read-only.

Implement wildcard source type#31

Open
froatsnook wants to merge 1 commit intoreact-dnd:masterfrom
froatsnook:feature/432-wildcard-DropTarget
Open

Implement wildcard source type#31
froatsnook wants to merge 1 commit intoreact-dnd:masterfrom
froatsnook:feature/432-wildcard-DropTarget

Conversation

@froatsnook
Copy link
Collaborator

New feature for react-dnd/react-dnd#432

I don't want to "rock the boat" here, so let me know if something doesn't make sense :).

A couple of notes:

  • I created and exposed isValidTargetType and isValidSourceType
  • I added API.spec.js to test that they're exposed since they're used in react-dnd
  • I sprinkled Types.WILDCARD and Types.NIL a bit throughout the tests

react-dnd pull request incoming

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant