1 | import { COMPONENT_TYPES, FORM_TYPES } from "../core/component-types";
|
2 | export const SEED_DATA = {
|
3 | name: "Blur View",
|
4 | tag: "BlurView",
|
5 | doc_link: "https://docs.expo.io/versions/latest/sdk/blur-view/",
|
6 | code_link: "https://github.com/expo/expo/blob/master/packages/expo/src/effects/BlurView.d.ts",
|
7 | category: COMPONENT_TYPES.layout,
|
8 | supports_list_render: false,
|
9 | layout: {},
|
10 | props: {
|
11 | tint: {
|
12 | label: "Tint",
|
13 | description: "The tint of the blur view",
|
14 | editable: true,
|
15 | required: true,
|
16 | value: "default",
|
17 | type: FORM_TYPES.flatArray,
|
18 | options: ["default", "light", "dark"]
|
19 | },
|
20 | intensity: {
|
21 | label: "Intensity",
|
22 | description: "A number from 1 to 100 that controls the intensity of the blur effect",
|
23 | editable: true,
|
24 | required: true,
|
25 | value: 50,
|
26 | type: FORM_TYPES.number,
|
27 | min: 0,
|
28 | max: 100,
|
29 | step: 1,
|
30 | precision: 0
|
31 | }
|
32 | }
|
33 | };
|
34 |
|
\ | No newline at end of file |