Code inside the defineProps() argument cannot access other variables declared in <script setup>, because the entire expression is moved to an outer function scope when compiled.
while the value should be the constructor function of the expected type.
Binding Multiple Properties Using an Object
// Object or array defaults must be returned from // a factory function
The type can be one of the following native constructors: String Number Boolean Array Object Date Function Symbol
Glasp is a social web highlighter that people can highlight and organize quotes and thoughts from the web, and access other like-minded people’s learning.