live sync nativescript
// Do you think an array is acceptable? Not. <price-block value=“[]” /> // With your component should handle these small checks { props: value: { type: Number, // what type is it? required: true, // is required? default: 0, // default value? YES always put a default value on custom component validator() { return // your validations for more strict checks } } } }