mirror of
				https://github.com/scm-manager/scm-manager.git
				synced 2025-10-30 18:15:52 +01:00 
			
		
		
		
	The new architecture has been implemented. Co-authored-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com> Committed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com> Pushed-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com> Committed-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com> Pushed-by: Eduard Heimbuch<eduard.heimbuch@cloudogu.com> Co-authored-by: Tarik Gürsoy<tarik.guersoy@cloudogu.com> Reviewed-by: Konstantin Schaper <konstantin.schaper@cloudogu.com>
		
			
				
	
	
		
			23 lines
		
	
	
		
			649 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			649 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| import { Meta, Story } from "@storybook/addon-docs";
 | |
| import { Button } from "../src";
 | |
| 
 | |
| <Meta title="Usage" parameters={{
 | |
|   storyshots: { disable: true }
 | |
| }} />
 | |
| 
 | |
| In confirmation dialogs, there are two actions.<br/>
 | |
| One to cancel the current process and one to confirm it.<br/>
 | |
| Aborting is always the secondary action, confirmation always the primary.
 | |
| Focus is always on the cancelling action.
 | |
| 
 | |
| <Story name="Confirmation Dialog">
 | |
|   <div>
 | |
|     <h4>Delete User</h4>
 | |
|     <p>Do you really want to delete this user ?</p>
 | |
|     <div>
 | |
|       <Button variant="secondary">Cancel</Button>
 | |
|       <Button variant="primary">Delete</Button>
 | |
|     </div>
 | |
|   </div>
 | |
| </Story>
 |