| 
									
										
										
										
											2023-05-14 03:24:13 +02:00
										 |  |  | <script lang="ts"> | 
					
						
							| 
									
										
										
										
											2023-06-14 20:39:36 +02:00
										 |  |  |   /** | 
					
						
							|  |  |  |    * Wrapper around 'subtleButton' with an arrow pointing to the right | 
					
						
							|  |  |  |    * See also: BackButton | 
					
						
							|  |  |  |    */ | 
					
						
							|  |  |  |   import SubtleButton from "./SubtleButton.svelte" | 
					
						
							|  |  |  |   import { ChevronRightIcon } from "@rgossiaux/svelte-heroicons/solid" | 
					
						
							|  |  |  |   import { createEventDispatcher } from "svelte" | 
					
						
							| 
									
										
										
										
											2023-06-15 05:38:52 +02:00
										 |  |  |   import { twMerge } from "tailwind-merge" | 
					
						
							| 
									
										
										
										
											2023-05-14 03:24:13 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-06-14 20:39:36 +02:00
										 |  |  |   const dispatch = createEventDispatcher<{ click }>() | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-06-15 05:38:52 +02:00
										 |  |  |   export let clss: string | undefined = undefined | 
					
						
							| 
									
										
										
										
											2023-05-14 03:24:13 +02:00
										 |  |  | </script> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-06-14 20:39:36 +02:00
										 |  |  | <SubtleButton | 
					
						
							|  |  |  |   on:click={() => dispatch("click")} | 
					
						
							| 
									
										
										
										
											2023-06-15 16:12:46 +02:00
										 |  |  |   options={{ extraClasses: twMerge("flex items-center", clss) }} | 
					
						
							|  |  |  | > | 
					
						
							| 
									
										
										
										
											2023-06-14 20:39:36 +02:00
										 |  |  |   <slot name="image" slot="image" /> | 
					
						
							| 
									
										
										
										
											2023-06-14 20:44:01 +02:00
										 |  |  |   <div class="flex w-full items-center justify-between" slot="message"> | 
					
						
							| 
									
										
										
										
											2023-06-14 20:39:36 +02:00
										 |  |  |     <slot /> | 
					
						
							| 
									
										
										
										
											2023-06-14 20:44:01 +02:00
										 |  |  |     <ChevronRightIcon class="h-12 w-12" /> | 
					
						
							| 
									
										
										
										
											2023-06-14 20:39:36 +02:00
										 |  |  |   </div> | 
					
						
							| 
									
										
										
										
											2023-05-14 03:24:13 +02:00
										 |  |  | </SubtleButton> |