# Developer guide for `` component
### Folder Structure
From Laravel Application
- resources
- js
- core
- components
- confirmation-modal
- Index.Vue
### Register
For `` component, main Vue component is `Index.Vue`. We had register this component in ```resources/js/core/components/coreApp.js``` file
```js
Vue.component('app-table', require('./components/confirmation-modal/Index').default);
```
### Props
1. modalId
- `type` : `String`,
- `required` : `true`
2. message
- `type` : `String`,
- `default`: `This content will be deleted permanently.`
3. firstButtonName
- `type` : `String`,
- `default`: `Yes`
4. secondButtonName
- `type` : `String`,
- `default`: `No`
5. icon
- `type` : `String`
6. title
- `type` : `String`
7. subTitle
- `type` : `String`
7. modalClass
- `type` : `String`
- `default` : `danger`
- available classes are: `danger`,`warning`,`primary`,`success`,`info`
### $emit
- `confirmed` for confirmed the process.
- `cancelled` for cancelled the process.
### Useges
```
```