vue props type: Function code example Example: vuejs props export default { name: 'Camera', props: ['name', 'img'], }