1 | import Attribute from './attributes/base';
|
2 |
|
3 | import Color from './attributes/color';
|
4 | import Opacity from './attributes/opacity';
|
5 | import Position from './attributes/position';
|
6 | import Shape from './attributes/shape';
|
7 | import Size from './attributes/size';
|
8 |
|
9 | import { getAttribute, registerAttribute } from './factory';
|
10 |
|
11 | registerAttribute('Color', Color);
|
12 | registerAttribute('Opacity', Opacity);
|
13 | registerAttribute('Position', Position);
|
14 | registerAttribute('Shape', Shape);
|
15 | registerAttribute('Size', Size);
|
16 |
|
17 | export {
|
18 | registerAttribute,
|
19 | getAttribute,
|
20 | Attribute,
|
21 |
|
22 | Color,
|
23 | Opacity,
|
24 | Position,
|
25 | Shape,
|
26 | Size,
|
27 | };
|
28 |
|
29 | export * from './interface';
|