@eva/plugin-ui 2.1.0-beta.1 → 2.1.0-beta.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,14 +1,14 @@
1
1
  # @eva/plugin-ui
2
2
 
3
- Vector UI shape plugin for Eva.js. Provides a `UI` Component that draws
3
+ Vector shape plugin for Eva.js. Provides a `Shape` Component that draws
4
4
  rect / circle / ellipse / roundedRect with solid color or `linear-gradient`
5
5
  fill + stroke, backed by `@eva/plugin-renderer-graphics`.
6
6
 
7
7
  ```ts
8
- import { UI, UISystem, UIShapeType } from '@eva/plugin-ui';
8
+ import { Shape, UISystem, ShapeType } from '@eva/plugin-ui';
9
9
 
10
- new UI({
11
- type: UIShapeType.ROUNDED_RECT,
10
+ new Shape({
11
+ type: ShapeType.ROUNDED_RECT,
12
12
  style: {
13
13
  width: 200,
14
14
  height: 80,