# Component/Modal/AlertModal > Props: component-modal-alertmodal.props.txt ## Examples ### Base ```tsx { args: { title: 'Heading', text: 'Body', confirmText: 'Label', onConfirm: () => { console.log('onConfirm'); }, onExited: () => { console.log('onExited'); }, onClose: () => { console.log('onClose'); } }, render: args => } ``` ### Continuos Open ```tsx { args: { title: 'Heading' }, render: () =>
} ``` ### Dense ```tsx { args: { title: 'Heading', text: 'Body', confirmText: 'Label', onConfirm: () => { console.log('onConfirm'); }, onExited: () => { console.log('onExited'); }, onClose: () => { console.log('onClose'); } }, render: args => , args: { title: 'Heading', text: 'Body', confirmText: 'Label', dense: true } } ``` ### Disabled Auto Focus Button autoFocusButton 미사용시 모달 마운트 이후 confirm 버튼에 자동 포커스가 되지 않습니다. ```tsx { args: { title: 'Heading', text: 'Body', confirmText: 'Label', onConfirm: () => { console.log('onConfirm'); }, onExited: () => { console.log('onExited'); }, onClose: () => { console.log('onClose'); } }, render: args => , args: { title: 'Heading', text: 'Body', confirmText: 'Label', autoFocusButton: null }, parameters: { docs: { description: { story: 'autoFocusButton 미사용시 모달 마운트 이후 confirm 버튼에 자동 포커스가 되지 않습니다.' } } } } ``` ### Kind ```tsx { args: { title: 'Heading', text: 'Body', onConfirm: () => { console.log('onConfirm'); }, onExited: () => { console.log('onExited'); } }, render: ({ ...args }) => {['success', 'error', 'warning'].map(kind => { return ; })} } ```