1 | import { COMPONENT_TYPES, FORM_TYPES } from "../core/component-types";
|
2 | export const SEED_DATA = {
|
3 | name: "ScrollView",
|
4 | tag: "ScrollView",
|
5 | description: "A basic ScrollView component",
|
6 | category: COMPONENT_TYPES.layout,
|
7 | supports_list_render: false,
|
8 | layout: {},
|
9 | props: {
|
10 | horizontal: {
|
11 | label: "Horizontal",
|
12 | description: "Render scrollview horizontally",
|
13 | editable: true,
|
14 | required: false,
|
15 | type: FORM_TYPES.boolean,
|
16 | value: false
|
17 | },
|
18 | showsHorizontalScrollIndicator: {
|
19 | label: "Show Horizontal Scroll Indicator",
|
20 | description: "When true, shows a horizontal scroll indicator. The default value is true.",
|
21 | editable: true,
|
22 | required: false,
|
23 | type: FORM_TYPES.boolean,
|
24 | value: true
|
25 | },
|
26 | showsVerticalScrollIndicator: {
|
27 | label: "Show Vertical Scroll Indicator",
|
28 | description: "When true, shows a vertical scroll indicator. The default value is true.",
|
29 | editable: true,
|
30 | required: false,
|
31 | type: FORM_TYPES.boolean,
|
32 | value: true
|
33 | },
|
34 | bounces: {
|
35 | label: "Bounce",
|
36 | description: "When true, the scroll view bounces when it reaches the end of the content if the content is larger then the scroll view along the axis of the scroll direction.",
|
37 | editable: true,
|
38 | required: false,
|
39 | type: FORM_TYPES.boolean,
|
40 | value: true
|
41 | }
|
42 | }
|
43 | };
|
44 |
|
\ | No newline at end of file |