Coding task · Vue.js course · Module 7: Props & Events

Practice: Boolean and default props

Configure the alarm system with default values.

Task

Create an AlarmSystem component with a Boolean prop 'active' (default: false) and a String prop 'level' (default: 'low').