mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 03:53:50 +00:00 
			
		
		
		
	help-beta: Add ZulipTip custom component that does not have a header.
We do not want to have a heading for every tip and thus we created a custom component for our aside. We want to add a lightbulb icon and the text `Tip:` is bold as a prefix for every tip as if it was already part of the text. To do that, we cannot insert both of those as html seperate from the slot html, we had to access the slot html and insert both of them into the HTML tree.
This commit is contained in:
		
				
					committed by
					
						 Tim Abbott
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							78eed0a817
						
					
				
				
					commit
					cb852b0fa6
				
			| @@ -238,6 +238,11 @@ Source: https://lucide.dev/icons/user-x | ||||
| Copyright: 2013-2022 Cole Bemis | ||||
| License: ISC License | ||||
|  | ||||
| Files: web/shared/icons/lightbulb.svg | ||||
| Source: https://lucide.dev/icons/lightbulb | ||||
| Copyright: 2013-2022 Cole Bemis | ||||
| License: ISC License | ||||
|  | ||||
| Files: web/shared/icons/clock.svg | ||||
| Copyright: 2013-2023 Cole Bemis (https://feathericons.com) | ||||
| License: Expat | ||||
|   | ||||
		Reference in New Issue
	
	Block a user