| 
									
										
										
										
											2025-05-03 13:43:37 +08:00
										 |  |  | import React from 'react' | 
					
						
							|  |  |  | import { RiArrowLeftLine } from '@remixicon/react' | 
					
						
							|  |  |  | import Button from '../../base/button' | 
					
						
							| 
									
										
										
										
											2025-05-07 11:30:13 +08:00
										 |  |  | import { useTranslation } from 'react-i18next' | 
					
						
							| 
									
										
										
										
											2025-05-03 13:43:37 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | const Header = () => { | 
					
						
							| 
									
										
										
										
											2025-05-07 11:30:13 +08:00
										 |  |  |   const { t } = useTranslation() | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-05-03 13:43:37 +08:00
										 |  |  |   return ( | 
					
						
							|  |  |  |       <div className='system-md-semibold relative flex px-16 pb-2 pt-5 text-text-primary'> | 
					
						
							| 
									
										
										
										
											2025-05-07 11:30:13 +08:00
										 |  |  |         <span>{t('datasetPipeline.creation.title')}</span> | 
					
						
							| 
									
										
										
										
											2025-05-03 13:43:37 +08:00
										 |  |  |         <a | 
					
						
							|  |  |  |           className='absolute bottom-0 left-5' | 
					
						
							|  |  |  |           href='/datasets' | 
					
						
							|  |  |  |         > | 
					
						
							|  |  |  |           <Button variant='secondary-accent' className='size-9 rounded-full p-0'> | 
					
						
							|  |  |  |             <RiArrowLeftLine className='size-5 ' /> | 
					
						
							|  |  |  |           </Button> | 
					
						
							|  |  |  |         </a> | 
					
						
							|  |  |  |       </div> | 
					
						
							|  |  |  |   ) | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | export default React.memo(Header) |