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

Structure exports #233

Open
appsforartists opened this issue Oct 14, 2017 · 0 comments
Open

Structure exports #233

appsforartists opened this issue Oct 14, 2017 · 0 comments

Comments

@appsforartists
Copy link
Member

The root namespace of material-motion is littered with Motion____able. Perhaps we should organize the exports:

import {
  operatorInterfaces,
} from 'material-motion';

const {
  MotionPluckable,
} = operatorInterfaces;

The syntax is a bit gross, but they are seldomly useful to 3rd parties, so probably shouldn't pollute the exported namespace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant