material-motion-js icon indicating copy to clipboard operation
material-motion-js copied to clipboard

Structure exports

Open appsforartists opened this issue 7 years ago • 0 comments

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.

appsforartists avatar Oct 14 '17 20:10 appsforartists