[#43842] added action bar example in modal
parent
6b2899cbea
commit
51b5a099ed
@ -0,0 +1,21 @@ |
||||
<div class="spot-modal" style="border: rgb(224, 224, 224) 1px solid"> |
||||
<div class="spot-modal--header">Delete attachment</div> |
||||
<div class="spot-modal--body spot-container"> |
||||
<span class="spot-body-small">Are you sure you want to delete this file? This action is not reversible.</span> |
||||
</div> |
||||
<div class="spot-action-bar"> |
||||
<div class="spot-action-bar--right"> |
||||
<button |
||||
type="button" |
||||
class="spot-action-bar--action button" |
||||
>Cancel</button> |
||||
<button |
||||
type="button" |
||||
class="spot-action-bar--action button -danger" |
||||
> |
||||
<span class="spot-icon spot-icon_delete"></span> |
||||
<span [textContent]="'Delete attachment'"></span> |
||||
</button> |
||||
</div> |
||||
</div> |
||||
</div> |
@ -0,0 +1,7 @@ |
||||
import { ChangeDetectionStrategy, Component } from '@angular/core'; |
||||
|
||||
@Component({ |
||||
templateUrl: './ActionBarInModal.example.html', |
||||
changeDetection: ChangeDetectionStrategy.OnPush, |
||||
}) |
||||
export class SbActionBarInModalExample {} |
Loading…
Reference in new issue