# Basic
```html
Error
Process
Wait
Finish
```
```js
import mdArrowRoundBack from 'naive-ui/lib/icons/md-arrow-round-back'
import mdArrowRoundForward from 'naive-ui/lib/icons/md-arrow-round-forward'
export default {
components: {
mdArrowRoundBack,
mdArrowRoundForward
},
data () {
return {
current: 1,
currentStatus: 'error'
}
},
methods: {
next () {
if (this.current === null) this.current = 1
else if (this.current >= 4) this.current = null
else this.current++
},
prev () {
if (this.current === 0) this.current = null
else if (this.current === null) this.current = 4
else this.current--
}
}
}
```
```css
.n-button-group {
margin: 8px 16px 8px 0;
}
```